[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Moving (promoting) XML elements through XSL
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jun 2006 13:17:26 +0100
       <xsl:template match="//topic">

starting a match with // never does anything useful (in XSLT1 it just
changes the default priority, not the elements that are matched, in
XSLT2 it does that and also slows down processing as it causes the
processor to check that the element is contained in a document).

Presumably your real example doesn't have topic at the top? in which
case you just need match="topic"

David

Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member