Adding character references to a DOM object

"Tarek M. Nabil" <[email protected]>
Newsgroups gmane.text.xml.general
Message-ID <001401c437fd$0c932540$4001a8c0@isoft>
Hi everyone,

I'm building an XML DOM using the JAXP APIs. I cannot find a method in the
org.w3c.dom.Document object to add a character reference to the node. I
tried to add it as a text node that contains the character reference but I
got the &#number; in the serialized XML instead. Is there a way I can do
this?

Also, am I sending to the correct mailing list, cause I'm not really sure.
If not, please excuse me and direct me to the correct one.

Thanks,
Tarek Nabil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.