> hmm, can someone try this out ? the issue kind of frustrates my progress...
If you're so frustrated, there are lots of XML resources out on the web. How about just reading the XML recommendation? http://www.w3.org/TR/REC-xml > one of the tags in my source XML contains a CDATA section, with a chunk of text inside that has CRLF newlines. > > the problem is simple: the parser returns the content of CDATA with all CRLF newlines converted to LF. > is this behaviour by design ? i thought the content of CDATA should be untouched by an XML parser. Yes, it's by design: http://www.w3.org/TR/REC-xml/#sec-line-ends CDATA sections don't have any affect on normalization: http://www.w3.org/TR/REC-xml/#sec-cdata-sect If you really want CR/LF pairs in content, use numeric character references: 
 The parser will not normalize numeric character references. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]