On 30/07/2013 17:48, nakul manchanda wrote: > I wanted to build a XML Tree? What is the best way to do this in Itext. > > I am thinking on following lines: > AcroFields form = pdfReader.AcroFields; > foreach (KeyValuePair<string, AcroFields.Item> de in form.Fields) > { > trace(de.Key.ToString()); > } > > It gives me string like > - topmostSubform[0].Page1[0].Header[0].EntityArea[0].f1_01_0_[0] > > I am thinking of using this information to build XML Tree.
Sounds like a recipe for failure. If you're talking about a hybrid XFA form, why don't you extract the datasets XML from the XFA stream? ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ 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