Re: Sorting with Different Sort Keys
also note that my first line contains an error and that its meaning is slightly different from the one posted by Michael, namely allowing for leading whitespace, here's the fixed version:
<xsl:sort select="matches(., '^\s*seite', 'i')" order="descending" />
then, to finalize this little analysis: my middle line allows for all non-correct items to be put at the end in document order, even if they do contain a number, which could be rewritten (matter of taste) like this:
<xsl:sort select="matches(., '^\d+$')" order="descending" />
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