Op 18/04/2013 13:27, Deepti schreef: > When I open the pdf document, and check document properties, my CUSTOM > property can be seen under the “Custom Tab” but > the xml file being generated does not have the custom property. Of course not!
How on earth would iText be able to guess which tag to use for your custom metadata? How on earth would iText be able to guess in which XMP scheme your custom metadata fits? If you want to add custom metadata to the info dictionary (which is by the way a bad idea), you'll have to create the XMP stream yourself instead of building it using the info dictionary. ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ 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