|
Subject: [xsl] removing crlf character with out white spaces From: ram <ram_kurra@xxxxxxxxxxx> Date: Thu, 11 Nov 2010 09:39:22 +0530 (IST) |
Hi,
I am trying to write an xsl which will take read text which is in
EDI format and crlf characters. My code is
<?xml version="1.0"
encoding="UTF-8"?>
version="1.0"
xmlns:xalan="http://xml.apache.org/xslt">
<xsl:template match="text()">
<xsl:value-of select="normalize-space()" />
</xsl:template>
<xsl:template match="*">
<xsl:copy>
<xsl:copy-of
select="@*" />
<xsl:apply-templates />
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
The normalize-space() is
removing all the crlf characters and also trimming white spaces trimming into
single space which i dont want to do it.
i need only cr and line feeds needs
to be removed. How can i do that.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Re: Returning a value fro, G. Ken Holman | Thread | Re: [xsl] removing crlf character w, Brandon Ibach |
| Re: [xsl] selecting a element witho, pankaj . c | Date | Re: [xsl] removing crlf character w, Brandon Ibach |
| Month |