Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rendering xml file with XSL

Status
Not open for further replies.

Ouch

Programmer
Jul 17, 2001
159
0
0
GB
Hi all

I have a simple xml dbfile that i want to render using an xsl stylesheet,
at the moment in order to get it to work i have to put
<?xml-stylesheet type=&quot;text/xsl&quot; href=&quot;Catalogue.xsl&quot;?>
at the top of the file.

the problem i have is that i dont produce the file, is ther a way of reading the file into the stylesheet rather than calling the stylesheet from the file?

i am very new to xml, (started learning on friday)
 
if you are into Java, you can use the XSLTranformation:
DOMSource, Transformer,StreamResult classes
 
How do i directly pas the files to the processor?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top