Subject: RE: Pattern for attribute matching
From: shalperin@xxxxxxxxxxxx (Shalperin)
Date: Tue, 3 Aug 1999 11:59:58 -0700
|
> -----Original Message-----
> From: David Carlisle <davidc@xxxxxxxxx>
> Sent: Friday, July 30, 1999 11:41 PM
> To: xsl-list@xxxxxxxxxxxxxxxx
> Subject: Re: Pattern for attribute matching
>
>
>
>
> > 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
Thank you for the correction. Sorry to be misleading. Obviously nothing is
obvious. ;)
-s
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|