You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Dennis Thrysoe - Netnord A/S <dt...@netnord.dk> on 2001/12/20 09:27:18 UTC

Character entities

Hi,

I've noticed some mails on this list where it is suggested to use 
character references such as &#169; for outputting special characters.

This seems to work fine with FOP alone, when it takes care of the XSLT 
processing.

If I run the XML through Xalan 2 via my own script first the entities 
are converted to things like &copy; in the output FO, though. That is a 
problem.

Does anybody have an idea of how I can make Xalan output character entities.

I instantiate the Transformer via 
org.apache.xalan.processor.TransformerFactoryImpl(). Would it help to 
use, for instance, TRAX?

TIA,

-dennis