Subject: RE: [xsl] looking ahead during a for-each From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Tue, 8 May 2001 13:59:49 +0100 |
> My xsl needs to iterate over this group of sense elements, > treating each > one differently depending on whether the NEXT sense element > in document > order has an n attribute. > <xsl:template match ="divgen"> > <xsl:for-each select="following-sibling::sense"> > <xsl:choose> > <xsl:when test="following-sibling::sense/@n"> That should be test="following-sibling::sense[1]/@n" Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] looking ahead during a f, Xuegen Jin | Thread | Re: [xsl] looking ahead during a f, Larry_Mason |
RE: [xsl] parsing strings, Michael Kay | Date | RE: [xsl] wysiwyg xml editing, Michael Kay |
Month |