Hi, Can anyone help me?
I am a beginer to iText. I am taking iText tutorial (http://www.lowagie.com/iText/tutorial/ch07.html) The following is a copy of the tutorial. I got an error: "SAXiTextHandler cannot be resolved". I cannot import this class, because in my iText.jar file, there are no any classes in the com.lowagie.text.xml package (The com.lowagie.text.xml package is empty). What I should do? Please advise me. Thanks! Julia XML to PDF We are not that interested in generating XML. What we really want, is to parse an XML file and generate the corresponding PDF (or HTML). That is what we are going to do in example 2. In Chapter 1, we described 5 steps to generate a PDF file; to convert an XML file into a PDF file we have to replace step 3 and 4; step 5 is performed automatically by the parser: // step 3: we create a parser and set the document handler SAXParser parser = SAXParserFactory.newInstance().newSAXParser(); // step 4: we parse the document parser.parse("Chap0701.xml", new SAXiTextHandler(document)); __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
