Holk, David A wrote:

I would expect this:
<fo:block font-size="7pt">&lt;/= 1.5%</fo:block>
to be rendered as:
</= 1.5%
in my pdf. But instead I am getting this:
&lt;/= 1.5%
How can I get my expected output?

You are probably confusing XML documents and XML APIs. In a XML document you'll have to encode a less sign as &lt;. If you put text in a DOM tree, you just use '<'. You don't have markup in DOM tree text nodes, therefore no escaping of special characters is necesary. Same for SAX character events. Another possiblity is that you've some doubel escaping somewhere. It's hard to say without knowing how you feed input to the FO processor and how your data is generated.

J.Pietschmann


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to