[Project_owners] html entries in xml declined parsing?

pike pike-mozdev at kw.nl
Fri Jul 20 08:02:35 PDT 2007


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 &

- 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&lt;br /&gt;yes sir"
  This is *literally* the same as the above, but
  it parses as a string instead of multiple xml nodes.


More information about the Project_owners mailing list