Pierluigi Fabbris wrote:
<xsl:if test="./ricetta/@id =vino_consigliato/@ricetta">
<xsl:value-of
select="/ricettario/vino_consigliato/@text()"/>
</xsl:if>
I think instead of the xsl:if and xsl:value-of you simply want
<xsl:value-of
select="/ricettario/vino_consigliato[(_at_)ricetta = current()/@id]"/>
That would output the string value of that "vino_consigliato" element
for which the "ricetta" attribute is equal to the "id" attribute of the
current "ricetta" element.
--
Martin Honnen
http://JavaScript.FAQTs.com/
--~------------------------------------------------------------------
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>
--~--