Subject:preserve line breaks in xml attribute Author:dan liu Date:11 Nov 2008 01:43 PM
Hi,
Is there any way to preserve the line breaks from the xml attribute to my result xml file. Here is a simple input xml file:
<faq>
<answertext test="d1
d2
d3"/>
</faq>
Subject:preserve line breaks in xml attribute Author:dan liu Date:11 Nov 2008 11:04 PM
based on w3 attribute normalization: "All line breaks MUST have been normalized on input to #xA ", my xslt should go to the <xsl:message> to generate 111, which is not the case with the transformation. What is the reason?