all groups > dotnet windows forms > april 2006 >
You're in the

dotnet windows forms

group:

Displaying HTML/XHTML from source XML file


Displaying HTML/XHTML from source XML file psid
4/7/2006 9:46:21 AM
dotnet windows forms: 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?
Re: Displaying HTML/XHTML from source XML file Cerebrus
4/7/2006 1:21:16 PM
Hi,

Have you considered XSL / XSLT ?

<http://www.w3schools.com/xsl/xsl_languages.asp>

Regards,

Cerebrus.
Re: Displaying HTML/XHTML from source XML file psid
4/10/2006 9:19:56 AM
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
RE: Displaying HTML/XHTML from source XML file guybar
4/11/2006 2:33:02 AM
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.
--
GuyBar


[quoted text, click to view]
AddThis Social Bookmark Button