Subject: Re: Pattern for attribute matching
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 30 Jul 1999 22:24:03 +0100 (BST)
|
match="foo/@bar"
But that doesn't seem entirely right because attributes are not children
it is right. / does not mean `children' it means `next step' and at each
step you can change axis along which to travel, here you have @ which is
short for attribute::, and no specified axis is short for child:: so the
above is really
child::foo/attribute::bar
which means get bar attributes of foo children.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|