Displaying HTML/XHTML from source XML file

  • Thread starter Thread starter psid
  • Start date Start date
P

psid

Displaying HTML/XHTML from source XML file

i am having an xml file
i want to display the contents of the xml file in a web browser control
in winforms
however i want to display it as html/xhtml after applying formatting.
how can this be done?
 
The XML file contents shall be changing at design time and can it shall
be having nested constructs like nested if, nested for and nested
foreach. In such a case how shall you apply an xslt that needs to
display these nested constructs as html output with proper indentations
 
You should create an html/xhtml file that will use an xsl file to format the
xml file and display it. Look at the XML Transform method in the MSDN for
example.
 
Back
Top