This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
repeating nodes, multiple attributes
- To: xsl-list at lists dot mulberrytech dot com
- Subject: [xsl] repeating nodes, multiple attributes
- From: "Mikal Keenan" <mikal dot keenan at infinity-insurance dot com>
- Date: Thu, 07 Jun 2001 14:46:41 -0500
- References: <F226fLCBTQYIcVqeavx0001a521@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
Given a node type with 3 defining attributes (i.e., primary key) ...
<someNode a=aValue b=bValue c=cValue>
<data>target</data>
</someNode>
... is it possible to access data from 1 of n of these using some form of
logical AND?
For example ...
<xsl:variable name="theData" select="someParent/someNode[@a='aKey' and
@b='bKey' and @c='cKey']/data" />
Thanks.
Mik
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list