Hi, I have a hard time manipulating the XFA DOM of an existing PDF. I basically follow the pattern in the fillData2 method from the XfaMovie example.
Basically, I want to modify some parts in the /xdp/config section. So I do xfa.getDomDocument() and then add some nodes to it below the /xdp/config node. Dumping the modified DOM yields that the new nodes were added successfully. However, after closing the PdfStamper, the new PDF's XFA does not contain the new nodes (things like filling XFA form elements using fillXfaForm() works fine, though) Even if I completely replace the XFA stream with a XML document which was exported from another PDF, the original /xdp/config settings of the original PDF remain unchanged. Is this a bug or a feature of iText? Dirk ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. 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