Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulate XSL using DOM for sorting

Status
Not open for further replies.

Muddmuse

Programmer
Jul 31, 2001
85
US
I've got a method that returns and XML string. It is loaded into the DOM, along with an XSL file and transformed into HTML. I'm creating a <xsl:sort/> node dynamically when the XSL is loaded into the DOM. The sort node does get created correctly but the sort does not take affect. If I do not create the node dynamically, but hard-code it into the XSL file, the sort does take affect (this is not an option however). When I copy the XSL with the dynamically created sort node into XMLSpy and transform it with the XML the sort does work! It is only when I run my .asp page that the sort does not work. Any ideas why?

ps. the parser in both the asp and XMLSpy is MSXML4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top