[Home] [By Thread] [By Date] [Recent Entries]


Lyndon J B Nixon wrote:
>
> Is there any means to override this in the XML parser? I also figure that
> after the conversion process there is no means to 'recover' the newlines
> that were stripped.

As a workaround, you may be able to make use of the feature that XML parsers
will not remove newlines that occur as character references.  So if you are
able to pre-process your document, replace the newlines with character
references 


e.g.
<script type="JavaScript" code="
  line1..... &#10;
  line2..... &#10;
  line3..... &#10;
">

Regards
~Rob

--
Rob Lugt
ElCel Technology
http://www.elcel.com



Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member