Subject: RE: [xsl] <xsl:sort> using a derived element From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 6 Mar 2001 20:16:41 -0000 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] <xsl:sort> using a derive, RUSSO, EDITH | Thread | Re: [xsl] <xsl:sort> using a derive, Jeni Tennison |
RE: [xsl] RE: Xalan-J2 outputing ex, Michael Kay | Date | RE: [xsl] paging question, Michael Kay |
Month |