Hi all...

I'm trying to use <xsl:choose> tag into a XSL page. The condition
wiil be set depending onthe content of a string named "mail". This
string has to be captured from the XSP related to this XSL.

XSP produces these results:
<data>
<name>...</name>
<city>...</city>
<mail>...</mail>
</data>

So, into the XSL I have written next lines:

<xsl:choose>
<xsl:when test="???????">
    ---some code---
</xsl:when>
<xsl:otherwise>
    ---more code---
</xsl:otherwise>
</xsl:choose>

Depending the content of "mail", a different code has to be executed
(HTML result will be different depending on mail content).

I don't know how to capture the <mail> tag from the xsp page. Out of
the <xsl:when> than, I use <xsl:value-of select="mail"/> ... but,
how can I capture this value into the <xsl:when> tag???

Thanks a lot


I don't know how to caputre


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to