xsl-list
[Top] [All Lists]

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

2003-06-04 07:48:48
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