[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <xsl:sort> using a derived element
You are sorting List elements, but there only seems to be one of them, and you are sorting on the value of the ItmDesc child element, but the List element doesn't have an ItmDesc child. So I can see why it doesn't work, but I don't know what you're actually trying to do. Mike Kay > <xsl:apply-templates select="PATHFINDER/List[ListID='102000']"> > <xsl:sort select="substring-after(ItmDesc,'-')" > order="ascending"/> > > <PATHFINDER version="2000"> > <List> > <ListID>102000</ListID> > <ListDesc>Legal Office</ListDesc> > <Itm> > <ListID>102000</ListID> > <ItmID>102020</ItmID> > <ItmDesc>020-Glendale</ItmDesc> > </Itm> > <Itm> > <ListID>102000</ListID> > <ItmID>102021</ItmID> > <ItmDesc>021-Ventura</ItmDesc> > </Itm> > </List> > </PATHFINDER> > > 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
|