XSLT to HTML

S

Slipperman

say i have 2 xml files i want to combine and format using XSLT but i'd like
to route the output to an HTML file. can this be done?? every sample i've
seen on the net is using Console.Out which sounds like it writes to the
browser or the output window, not a file.
also, how do you actually use the xml file and xslt in conjunction with each
other to get the output?
 
G

Guest

how do you actually use the xml file and xslt in conjunction with eac
other to get the output

Use the WebControl.Xml control. It contains two properties, 1 for the stylesheet and another for the XML doc. It then renders as HTML
but i'd like to route the output to an HTML fil
You can write it to a filestream (just like you would write any other file) - lookup System.IO.TextWriter.

HTH
Tim Stall

----- Slipperman wrote: ----

say i have 2 xml files i want to combine and format using XSLT but i'd lik
to route the output to an HTML file. can this be done?? every sample i'v
seen on the net is using Console.Out which sounds like it writes to th
browser or the output window, not a file
also, how do you actually use the xml file and xslt in conjunction with eac
other to get the output
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,234
Latest member
SkyeWeems

Latest Threads

Top