The best option for this job would be to use the <xsl:eval/> empty tag
along with a small script. Microsoft has a great working example in
their sort-stocks demo. There is also a second one in the Extreme XML
archives at Microsoft.
To accomplish your task, there are several xml/xsl elements you should
probably familiarize your self with. xsl:eval xsl:copy and the
XML DOM selectSingleNode ("//@order-by"); are all good places to start.
Duane Nickull
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|