Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#19 can set text of element to preserve

open
nobody
None
5
2012-10-08
2004-12-23
David Thielen
No

Hi;

There may be a solution to this but everything that has
been suggested has not worked for this.

There should be a way to mark an element as preserve
where the text in that element is written to the xml file
exactly as is.

First, all spaces, tabs, and cr/lf in the element are
preserved exactly even when doing a pretty print.

Second any occurance of <>&'" are left alone - no
conversion to <, etc.

thanks - dave

Discussion