Enclose it in a CDATASection.
Not sure it would change anything except make the XML even less human
readable. My goal is to have the XML the most human readable as possible,
with best indentation.
--
[EMAIL PROTECTED]
Author of ICS (Internet Component Suite, freeware)
Author of MidWare
nodexamp;#13;amp;#10;y/node
That's not what Francois wants. He wants this:
nodex#13;#10;y/node
Right !
The XML serializer, though, doesn't normally bother with character
entities for normal printable characters like carriage return and line
feed. Instead, it outputs this:
nodex
y/node
When I write an ampersand () to the value of an XML node, TXMLDocument
replace it with amp; entity which is fine since when reading it back it
is transformed to the original ampersand.
But my problem is that I want to write CRLF par as #13;#10; to avoid
having the CRLF written as is in the XML
Enclose it in a CDATASection.
SNIP
But my problem is that I want to write CRLF par as
to avoid
having the CRLF written as is in the XML document (I find it more readable
to have the CRLF encoded).
How can I tell TXMLDocument to write the ampersand () without escaping it
?
Eddie Shipman wrote:
SNIP
But my problem is that I want to write CRLF par as
to avoid
having the CRLF written as is in the XML document (I find it more
readable
to have the CRLF encoded).
How can I tell TXMLDocument to write the ampersand () without
escaping it?
Enclose it in a
5 matches
Mail list logo