Hi,
In my VS project I have an XML doc. I created an XSLT that sorts a node in my XML doc. After I do the transformation of the XML file I would like to re-use it in my program.
I'm not sure how to call it back...
Here's what I have:
I would like to use the output XML file that sort.xsl created into my next line of code:
Could someone help me using the newly created sorted XML doc.
Thanks!
In my VS project I have an XML doc. I created an XSLT that sorts a node in my XML doc. After I do the transformation of the XML file I would like to re-use it in my program.
I'm not sure how to call it back...
Here's what I have:
Code:
xDoc.Load(xmlPath);
XslCompiledTransform xslt = new XslCompiledTransform();
xslt.Load(Server.MapPath("Sort.xsl"));
Code:
audienceList = xDoc.SelectNodes("/dataroot/...");
Could someone help me using the newly created sorted XML doc.
Thanks!