Jul 04, 2015 09:11 AM|Vipsahaj|LINK
I have very urgent requirement regarding XML and XSLT transform.
I was using ASP:Xml control for loading an XML and it was working fine. but I was also using an XslTransform class which is obsolete method.
Now I want to have an HTML using Live XML and XSLT without selecting any node.
Here is an example:
Here is my existing code to have an HTML:
<asp:Xml ID="xml1" runat="server"></asp:Xml>
Here is the existing code behind files.
var xslSetting = "http://www.w3schools.com/XSL/cdcatalog.xsl";
var t = new XslTransform();
xml1.Transform = t;
Now as I said, XslTransform is no more useful as we get an obsolete methods, so we need to have some different set of Logic. So need an help.
SO just wanted to understand that how do I get HTML dynamic everytime? Note: We get XML properly. Now How to apply XSLT to the XML without using Transform method?
Let me know if I have missed anything. I look forward to hear you.