Re: [xsl] template match : node-set paring through multiple-axis relationships

Subject: Re: [xsl] template match : node-set paring through multiple-axis relationships
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 4 Jun 2003 15:48:48 +0100
> I do not understand why there is no '//' prefix.

keys use a match pattern, like xsl:template.
Starting a match with // is never needed.

<xsl:template match="abc"

matches all abc elements that are children of something


<xsl:template match="//abc"

matches all abc elements that are descendents of the root.

These two sets of abc elements are the same,

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread