This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Apply templates + "match all" template
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Thu, 27 Jun 2002 16:34:57 +0100
- Subject: Re: [xsl] Apply templates + "match all" template
- References: <3.0.6.32.20020627171358.01420ff8@m1.858.telia.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
That's true: <list> is not a child of the root node, it's a descendant. So
it worked when I wrote
<xsl:apply-templates select="//list"/>
If your source documents may contain nested lists then you almost
certainly don't want to do this as it will unnest them.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list