On 16/07/2012 16:12, Paul M wrote:

I have a cdata section that is being transformed into text node using
on commandline

There must be an option to alter this behavior?

Not within standard XSLT there isn't. The official view is that <a><![CDATA[xyz]]></a> and <a>xyz</a> are different ways of inputting the same information, and applications should no more care about the difference than they care whether there are spaces around the equals sign in attribute=value pairs.

If you do want to preserve the fact that the information was entered with CDATA tags, try the Lexev utility from Andrew Welch, which acts as a preprocessor to transform the CDATA tags into something that is preserved in the XPath data model.

Michael Kay