Op 30/01/2011 13:40, Ton Trommelen schreef:
Hi,
I’m using the following code in a project that uses itextsharp v4
Document document = new Document();
PdfWriter.GetInstance(document, new FileStream(“c:\infile”, FileMode.Create));
XmlParser.Parse(document, "output.xml");
document.Close();
The same code is not supported in v5. How can I rewrite the code for v5?

XmlParser was completely removed.
You need to write your own XML Handler.
Use the old code of XmlParse for inspiration.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
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