Tempore 11:57:40, die 09/03/2005 AD, hinc in
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Joris Gillis
<roac(_at_)pandora(_dot_)be>:
<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"/>
It wouldn't change anything to the functionality, but re-writing that key as
below is much cleaner.
<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)
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--