xsl-list
[Top] [All Lists]

Re: [xsl] xsl if statement

2006-08-16 04:50:39
Hi,

<xsl:template match="child">
<xsl:if test="'[child=&#x21C4]'">
try:
<xsl:if test=".=&#x21C4;">

first remove apostroph.
second you already matched child element. use only dot. There is no child/child in your xml.

xml:
<root>
<child>&#x21C4;</child>
<child>&#x0029;</child>
</root>

cheers,

juergen

--~------------------------------------------------------------------
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>
--~--

<Prev in Thread] Current Thread [Next in Thread>