Re: Pattern for attribute matching

Subject: Re: Pattern for attribute matching
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jul 1999 23:41:12 +0100 (BST)

> The first match finds foo elements that have a bar attribute.
> The third match finds children of foo elements that have a bar attribute.

No.

the first finds foo elements that have are children of the current
node, and have a bar attribute
the second finds bar attributes of foo children of the current node.

if this is in an apply-templates, then the current node in the matching
template will be the foo element in the first case but an _attribute
node_ in the second.

David


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


Current Thread