Chris Coyle wrote:
Hi
06:47:27.062 global (ERROR) - Uncaught Exception:
'exists' is not a valid XSLT or XPath function.
So your processor is bugged (if it is claiming to be an XSLT 2.0
processor, what I expect because you're using @version="2.0").
BTW, your initial param declarations were:
<xsl:param name="..."/>
<xsl:param name="..."/>
exists() will give you true here, because when xsl:param (or
xsl:variable) has neither @select or content, its value is the
zero-length string.
If you can test for both empty sequence of zero-length string, use
just <xsl:if test="$param">.
Regards,
--drkm
--- Martynas Jusevicius
<martynas(_dot_)jusevicius(_at_)gmail(_dot_)com> wrote:
<xsl:if test="$param">
<Key>
<xsl:value-of select="$param"/>
</Key>
</xsl:if>
On 2/1/07, Chris Coyle <chriscoyle(_at_)yahoo(_dot_)com> wrote:
<xsl:stylesheet version="2.0"
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur
Yahoo! Questions/Réponses
http://fr.answers.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>
--~--