[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Collation for dotted decimal?
How about the brute force technique: > From Andrew Welch <xsl:for-each-group ...> <xsl:sort select="tokenize(.,'\.')[1]" data-type="number"/> <xsl:sort select="tokenize(.,'\.')[2]" data-type="number"/> <xsl:sort select="tokenize(.,'\.')[3]" data-type="number"/> <xsl:sort select="tokenize(.,'\.')[4]" data-type="number"/> <xsl:sort select="tokenize(.,'\.')[5]" data-type="number"/> <xsl:sort select="tokenize(.,'\.')[6]" data-type="number"/> </xsl:for-each> Obviously this doesn't scale well :) ============================== Reply: Thanks, that could work in a pinch, but I was hoping someone could give me a more general solution. -- Charles Knell cknell@xxxxxxxxxx - email
|
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
|