xsl-list
[Top] [All Lists]

RE: CR parsing issue

2003-11-27 22:28:56
Hi,

Here is an XML:

<node>Hi&#13;there</node>

And an XSL:

<xsl:stylesheet ....>
  <xsl:template match="/">
    <xsl:value-of select="contains(node,'&#13;')"/>
  </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



<Prev in Thread] Current Thread [Next in Thread>
  • CR parsing issue, Francois Daignault
    • RE: CR parsing issue, Jarno . Elovirta <=