|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: arbitrary sorting
If you want to avoid extensions, probably simplest is to go
<xsl:for-each select="report">
<xsl:sort select="document('')/*/month:*[local-name()=current()/@month]"/>
where your stylesheet looks like
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:month="foo:month-namespace"
>
<month:jan>1</month:jan>
<month:feb>2</month:feb>
...
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








