views:

8

answers:

0

Hello,

I have a problem using a transformer to generate an XML document.

The incoming org.w3c.dom.Document has the entity codes correct:

®

However, once the Document is transformed the ampersand is encoded:

®

I was expecting ampersands followed by a # to have been respected, but I guess perhaps this is correct behaviour.

Does anyone know what setting I can use for the transformer to allow the entity numbers to be passed through untouched?

Thanks Jay