[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Terminate <xsl:for-each>
Tempore 11:57:40, die 09/03/2005 AD, hinc in xsl-list@xxxxxxxxxxxxxxxxxxxxxx scripsit Joris Gillis <roac@xxxxxxxxxx>:
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)
|
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
|