This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: how to select attribute value based on another attribute valu e?
- To: xsl-list at mulberrytech dot com
- Subject: Re: how to select attribute value based on another attribute valu e?
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Thu, 13 Apr 2000 21:48:21 +0100 (BST)
- References: <DF9599D767C4D31195670006293825F912D53A@lasexch1.purchasepro.net>
- Reply-To: xsl-list at mulberrytech dot com
> This gives me just the VALUE attribute for NAME='DRG_CODE'.I know that it
> uses "or" only to check the condition and not to display.But is there any
> other way other than splitting this condition into 2 different lines?.What I
the string value of a node set os the string value of the first node.
xsl:value-of gives the string value.
perhaps you want to use apply-templates select= instead.
or if you just want to copy the attributes (rather than their value)
use copy-of instead of value-of.
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list