Serializing a DOM tree to XML file, customize entities replacement 2007-06-08 - By keshlam@(protected)
Note that If you explicitly insert a carriage-return character into a DOM, that has to be serialized to XML as so it will be read back in correctly rather than being converted to linefeed by XML's end-of-line normalization rules.
______________________________________ "... Three things see no end: A loop with exit code done wrong, A semaphore untested, And the change that comes along. ..." -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (http://www.ovff.org/pegasus/songs/threes-rev-11.html) <html><body> <p>Note that If you explicitly insert a carriage-return character into a DOM, that has to be serialized to XML as &#13; so it will be read back in correctly rather than being converted to linefeed by XML's end-of-line normalization rules. <br> <br> ______________________________________<br> "... Three things see no end: A loop with exit code done wrong,<br> A semaphore untested, And the change that comes along. ..."<br> -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish (<a href="http://www .ovff.org/pegasus/songs/threes-rev-11.html">http://www.ovff.org/pegasus/songs /threes-rev-11.html</a>)</body></html>
|
|