|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: New User- sort xml using xsl
Hi Peter,
> Hello. I have spent a bit of time trying to implement xsl:sort on an
> xml file, without success. I am trying to sort on the field_value of
> attribute "seq" (i.e. 88 and 157). Extracts of files follows. Pls
> see blue, commented code, in the xsl file for an idea of what I am
> trying to do. If anyone could offer some guidance it would be
> appreciated.
It looks like you're attempting to use XSLT elements (e.g. <xsl:sort>)
in a stylesheet that's using the WD-xsl namespace
(http://www.w3.org/TR/WD-xsl). If you want to use XSLT 1.0, you should
use the XSLT namespace:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
...
</xsl:stylesheet>
Have a look at the MSXML FAQ at
http://www.netcrucible.com/xslt/msxml-faq.htm to find out about the
difference between the two languages.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








