It is not dom4j that changes the character-references, into
characters, it is the underlying XML parser. The dom4j code actually
never sees any of these character references.

There is no way (that isn't a hack) to change this.

However you can get dom4j to substitute characters into
character-references when you write the XML by using the following
method:

XMLWriter.setMaximumAllowedCharacter()

You should not really have to use this functionality, unless you use
an encoding which does not support the specific character.

Kind regards,
Edwin
-- 
http://www.edankert.com/

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to