Re: [xsl] Moving (promoting) XML elements through XSL

Subject: Re: [xsl] 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