jyan wrote: > In my XML at the top I do see > > <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve"> > so wouldn't that preserve the whitespace?
With a full-blown XML parser, yes. But XfdfReader uses the SimpleXMLParser, a fast parser that comes with iText. This SimpleXMLParser ignores newline characters regardless of the xml:space attribute value. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
