|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Variable containing sorted node-set?
> The document is marked up with <index> tags. In others > languages, it would > be natural to put these elements in a list and sort the list. > And *then* > doing smart things with that sorted list. I have found no way > of doing this > in XSLT. Is it possible to get a variable of sorted <index> elements? XSLT 1.0 has five data types: boolean, number, string, node-set, and result-tree-fragment. Node-sets are no use to you here, because by definition sets don't hold ordering information. Your best bet is a result tree fragment; though this can only hold copies of the original nodes rather than references to them; and you need the xx:node-set() extension to process the RTF. Mike Kay 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








