How To convert Xml to Html
-
How can i convert an xml file to html file. Actually i want to provide the xml file and xsl file to the function and it will give me a file with .htm or .html extension. Thanx in advance Regards minamkhan Inam
Take a look at this example: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=64 M:mad:tti:mad:s
-
How can i convert an xml file to html file. Actually i want to provide the xml file and xsl file to the function and it will give me a file with .htm or .html extension. Thanx in advance Regards minamkhan Inam
See the
System.Xml.Xsl.XslTransform
class documentation in the .NET Framework SDK. It includes examples, including a sample method that does just that. You still need to construct your XSLT. A good, comprehensive resource for that is on MSDN at http://msdn.microsoft.com/library/en-us/xmlsdk30/htm/xmrefxsltreference.asp[^].Microsoft MVP, Visual C# My Articles
-
Take a look at this example: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=64 M:mad:tti:mad:s