Hello Experts,
I have a small problem with copy of CDATA sections.
(I'm using XSLT2.0 )
My output target is defined as txt.
In my xml source is a CDATA section to be put as it is into the output text file. This CDATA will be copied to the output by xsl:value-of or xsl:copy- of.
The point is that the result text file is created on Windows but used on Unix/Linux later on.
In the Unix world I see strange charcters im my text (like ^M) and some line breaks are missing. So I think this is a CRLF problem, because of the CDATA section and text output.
Questions:
1) Is my assumption right ?
2) How to get the right output for Unix/Linux when running the transformatio nunder Windows ?
May be I can declare the default output for CRLF for txt outputs somehow. I have used Altova in this case.
Any hint is welcome
Rolf
I have a small problem with copy of CDATA sections.
(I'm using XSLT2.0 )
My output target is defined as txt.
In my xml source is a CDATA section to be put as it is into the output text file. This CDATA will be copied to the output by xsl:value-of or xsl:copy- of.
The point is that the result text file is created on Windows but used on Unix/Linux later on.
In the Unix world I see strange charcters im my text (like ^M) and some line breaks are missing. So I think this is a CRLF problem, because of the CDATA section and text output.
Questions:
1) Is my assumption right ?
2) How to get the right output for Unix/Linux when running the transformatio nunder Windows ?
May be I can declare the default output for CRLF for txt outputs somehow. I have used Altova in this case.
Any hint is welcome
Rolf