Hi,

I just downloaded the new version(5.0.5) of iText. To my surprise, the 
XmlParser, which was available in 2.1.7 is no longer in the new version.

So would you please let me know how can I convert XML documents to PDF, as in 
2.1.7?
<itext title="test">
        <paragraph">This is a test</paragraph>
</itext>

XmlParser.parse(document, new FileInputStream(new File(...)));<--- this doesn't 
work in 5.0.5


My second question is, whether it is possible to use "variables" in XML 
documents like this:
<itext title="test">
        <paragraph">${person.name}</paragraph>
</itext>
Or do I have to use another tool for this, i.e. velocity?

Many thanks for your help!

Best regards,
Daniel
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to