Hi
I am trying to retrieve an attribute value from a particular node, which
has been reached dynamically. However the control tends to remain on the
previous node. So my code
<xsl:if test="following-sibling::TopNode[(_at_)name = $constraint]"> <!--e.g.
should display
'Toyota'>
<xsl:attribute name="id"><xsl:value-of
select="@id"/></xsl:attribute>
<xsl:attribute name="name"><xsl:value-of
select="@name"/></xsl:attribute>
</xsl:if>
still returns 'Car' instead of 'Toyota'. This <xsl:if> is inside another
<xsl:if> clause which returns 'Car'. How can I get the control to move
to the node which contains the @name=Toyota ?
Could someone please help as I cant find any relevant information.
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>
--~--