Mark Goking wrote:


Hi all, I posted this question b4 but ill just post it again coz it may have been overlooked

As always im using an xml tagmap. Using chunk here is my tagmap source

        <tag name="chunk" alias="font">
                <attribute name="size" alias="size" />
                <attribute name="font" alias="face" />
                <attribute name="color" alias="color" />
                <attribute name="style" alias="style" />
                <attribute name="leading" alias="leading" />
                <attribute name="align" alias="align" />
        </tag>


If in my xml I do something like


<font size="6">hello - world</font> (dash)

Or

<font size="6">hello® world</font> (r-like symbol)

It results in exceptions. Because of those symbol. If I put them
inside a chunk class using pure java code, it works fine. The problem
is when I use these symbols in my xml. Anyone got ideas?

Look up the value of your special character, put it between an ampersand and a semicolon
and catch it in an additional method in your XML handler (probably not yet supported by
iText).




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to