xsl-list
[Top] [All Lists]

Re: obtaining tree fragments from node-set value

2005-05-11 03:48:55


David Carlisle wrote:

<xsl:variable name="x"
select="MainClass/SubClass/Value[contains(.,'ParentValue')]"/>

..
<xsl:when test="$x"/>
ref: <xsl:value-of select="@ref/>
I just tried out your solution but <xsl:value-of select="@ref/> doesnt return any value. Since '$x = ParentValue' in this case, @ref becomes inaccessible directly, which is my problem. Is there any other way of retreiving the value of @ref?

Thanks
Rahil


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--