I don't really know C# or VB syntax, but the usage should be very similar as in Java, normally the classes and such have the same name in both Java or C#.
On 04/02/12 17:30, Dean McCarthy wrote: > Could somebody please provide an example of parsing HTML into a list of > elements using XMLWorkerHelper in iTextSharp (C# or VB). > > > > The JAVA version as given in the documentation is: > > > > XMLWorkerHelper.getInstance().parseXHtml(new ElementHandler() { > > public void add(final Writable w) { > > if (w instanceof WritableElement) { > > List<Element> elements = ((WritableElement)w).elements(); > > // write class names of elements to file > > } > > } > > }, HTMLParsingToList.class.getResourceAsStream("/html/walden.html")); > > > > Thanks in advance ~ Dean > > -- Balder VC http://www.redlab.be/blog/ http://twitter.com/redlabbe ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ 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