/ Published in: C#
This is an old quick and dirty way to read and transform feeds and HTML content. The good part is if update your code the XML/HTML and the XSLT will be the same.
Expand |
Embed | Plain Text
//script //Read URL into new XmlDocument xdocUrl.Load("http://www.domain.com/content.xml"); xmlCtrl.DocumentContent = xdocUrl.InnerXml; //Load XSLT for formating xmlCtrl.TransformSource = "~/template.xslt"; //page tag <asp:Xml ID="xmlCtrl" runat="server"></asp:Xml>
You need to login to post a comment.
