You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Joan Pujol <jo...@ima.udg.es> on 2002/04/16 09:16:52 UTC

Problems with entities

Hello,

I have 2 problems with entities:

-1-
I create a  XML DOMDocument that at the end I serialize to HTML with Xerces
HTMLSerializer.
The problem is that I want to insert &nbsp is the document. And when I
serialize, the &nbsp convert to &amp;nbsp. How can I avoid this?

-2-
I have a xml document, that I validate against a Schema. Now I want to add and
entity to use it like a macro. How can I add the entity safely, without making
DTD verification. Because I added, the DOCTYPE header and now the document don't
verifies well.

Cheers,
-- 
---
Joan Jesús Pujol Espinar
PTS Sistemes Departament IMA

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org