This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xsl:sort - sorting outline numbered values


If the outline headings occur in order in the document, you may be able to
sort them in document order.  That would be a lot easier than parsing out
all the 15 levels.

Tom P

[Ilya Khandamirov]

> xsl:sort element, combined with MSXML, sorts the following values
absolutely
> correctly (as text):
>
> 1
> 1.1
> 10
> 11.1.1
> 2.1
>
> But i would like to get slightly different result:
>
> 1
> 1.1
> 2.1
> 10
> 11.1.1
>
> Does somebody know of XSLT solution for that?
> p.s. There can be up to 15 numbering levels in the source XML file.
>



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]