|
Subject: Re: [xsl] Terminate <xsl:for-each> From: "Joris Gillis" <roac@xxxxxxxxxx> Date: Sat, 03 Sep 2005 14:30:58 +0200 |
It wouldn't change anything to the functionality, but re-writing that key as below is much cleaner.<xsl:key name="bookmark" match="*" use="self::node() [preceding::text:bookmark-start[1]/@text:name = following::text:bookmark-end[1]/@text:name] /preceding::text:bookmark-start[1]/@text:name"/>
<xsl:key name="bookmark" match="*" use="preceding::text:bookmark-start[1]/@text:name [.=current()/following::text:bookmark-end[1]/@text:name]"/>
-- Joris Gillis (http://users.telenet.be/root-jg/me.html) Veni, vidi, wiki (http://www.wikipedia.org)
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Terminate <xsl:for-each>, Joris Gillis | Thread | Re: [xsl] Terminate <xsl:for-each>, Mukul Gandhi |
| Re: [xsl] Terminate <xsl:for-each>, Mukul Gandhi | Date | Re: [xsl] Indentation question, knocte |
| Month |