DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Xml -> PDF Translation

  1. #1
    Jigesh Guest

    Xml -> PDF Translation


    Well friends,

    I wants to generate PDF file using xml + xsl.
    In my case,
    xml is generated dynamically with servlets.
    And i am using apache fop translator to generate pdf files.

    But here as fop is command line utility, i am not being able to combine it
    with xml and xsl files generated dynamically,

    If anyone of you have any solution for prob,
    pl. provide me immediately,

    Thanks,
    Jigesh.


  2. #2
    Kent Guest

    Re: Xml -> PDF Translation


    Hi,

    I have just started using the FOP classes myself and it is my understanding
    that any command line java class can be called via another Java class or
    indeed, JSP page.

    This means you could create the XML dynamically in your JSP by instantiating
    the command line class and invoking the appropriate method(s), passing it
    the arguments it expects.

    Kent


    "Jigesh" <jigesh_v@yahoo.com> wrote:
    >
    >Well friends,
    >
    >I wants to generate PDF file using xml + xsl.
    >In my case,
    >xml is generated dynamically with servlets.
    >And i am using apache fop translator to generate pdf files.
    >
    >But here as fop is command line utility, i am not being able to combine

    it
    >with xml and xsl files generated dynamically,
    >
    >If anyone of you have any solution for prob,
    >pl. provide me immediately,
    >
    >Thanks,
    >Jigesh.
    >



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center