XSLT to HTML

  • Thread starter Thread starter Slipperman
  • Start date Start date
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?
 
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
 
Back
Top