Loading ...
Sorry, an error occurred while loading the content.

RE: [XSL-FO] Inputsource not found..

Expand Messages
  • Syomkin Andrew
    add line: import org.xml.sax.InputSource; Regards, Andrew ... From: balram_sas@yahoo.com [mailto:balram_sas@yahoo.com] Sent: Wednesday, September 05, 2001 9:08
    Message 1 of 1 , Sep 5, 2001
      add line:
      import org.xml.sax.InputSource;

      Regards, Andrew

      -----Original Message-----
      From: balram_sas@... [mailto:balram_sas@...]
      Sent: Wednesday, September 05, 2001 9:08 AM
      To: XSL-FO@yahoogroups.com
      Subject: [XSL-FO] Inputsource not found..

      Hi All,

      I tried to embedd FOP with my java appln.
      But it says "Class InputSource Not found".
      Any one is having any idea?

      This is the code:


      import javax.xml.transform.Transformer;
      import javax.xml.transform.stream.StreamSource;
      import javax.xml.transform.stream.StreamResult;
      import javax.xml.transform.TransformerException;
      import javax.xml.transform.TransformerConfigurationException;
      import org.apache.fop.apps.Driver;
      import org.apache.fop.apps.InputHandler;
      import org.apache.fop.apps.*;

      import java.io.FileOutputStream;
      import java.io.FileNotFoundException;
      import java.io.IOException;

      public class Processor4
      public static void main(String[] args)
      throws TransformerException, TransformerConfigurationException,
      FileNotFoundException, IOException,FOPException
      Driver driver = new Driver(new InputSource (args[0]),
      new FileOutputStream(args[1]));



      - sundar.

      To unsubscribe from this group, send an email to:

      Your use of Yahoo! Groups is subject to
    Your message has been successfully submitted and would be delivered to recipients shortly.