[Project_owners] html entries in xml declined parsing?
pike
pike-mozdev at kw.nl
Fri Jul 20 08:02:35 PDT 2007
Hi
without knowing anything about mozilla's domparser,
- if you want to use entities inside XML you must declare
those entities. å in your example needs to be
defined somewhere. This goes for all entities except
< and > and &
http://xmlwriter.net/xml_guide/entity_declaration.shtml
- An xml node containing "Thanks<br />yes sir"
contains 3 nodes: 2 textnodes and 1 empty node.
if you mean to wrap the html literal in xml, try
"Thanks<br />yes sir"
This is *literally* the same as the above, but
it parses as a string instead of multiple xml nodes.
$2c,
*-pike
More information about the Project_owners
mailing list