Hi,
> Here is an XML:
>
> <node>Hi there</node>
>
> And an XSL:
>
> <xsl:stylesheet ....>
> <xsl:template match="/">
> <xsl:value-of select="contains(node,' ')"/>
> </xsl:template>
> </xsl:stylesheet>
>
> in XMLSPY it answers true.
>
> but using struts 1.1, Resin 2.1.10, j2sdk1.4.2, it answers false...
>
> Could anyone tell me why?
See <http://www.w3.org/TR/REC-xml.html#sec-line-ends>. Thus, match for LINE FEED.
Cheers,
Jarno - VNV Nation: Outrunner
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|