Displaying HTML/XHTML from source XML file

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?
 
P

psid

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
 
G

Guest

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.
 

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

Top