Mohsen Saboorian wrote:
Hi
<xsl:variable name="var1" select="..." as="element()*"/>
<xsl:for-each select="...">
<xsl:variable name="var2" select="..." as="xs:string"/>
<xsl:sequence select="var1[local-name() eq var2]"/>
</xsl:for-each>
But it seems that your solution works with XSLT 2, but I'm
using XSLT 1 which do not support "as" and "sequence".
If you want to generate a text node in the output tree, you can use
xsl:value-of instead of xsl:sequence. The @as are indications to the
processor (and to you) as well as constraints on the variable values,
you can just drop them in your XSLT 1.0 script.
Regards,
--drkm
___________________________________________________________________________
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son
interface révolutionnaire.
http://fr.mail.yahoo.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>
--~--