Hi,

PDFBox doesn't have an API to convert from XML to PDF. Re licensing of FOP (which has its own channels), read the apache license here: https://www.apache.org/licenses/LICENSE-2.0

Tilman

On 03.01.2023 11:25, Akhil Shaji wrote:
Hi,

I am having a requirement to convert already existing XML files to PDF and pass 
to an API, so on my research I found Apache PDFbox and Apache FOP.
So, my queries are :

   1.  How to create pdf from xml using Apache PDFBox? Any example codes.
   2.  Examples of how to create pdf from xml using Apache PDFBox using 
JavaScript.
If for that conversion Apache FOP is needed, then

   1.  Is Apache FOP free of cost? Is there any licensing cost involved for 
using Apache FOP?
   2.  Examples of how to create pdf from xml using Apache FOP using JavaScript.

Thank You
Akhil Shaji
Disclaimer - The information transmitted is intended only for the person or entity to 
which it is addressed and may contain confidential and/or privileged material. Any 
review, retransmission, dissemination or other use of, or taking of any action in 
reliance upon this information by persons or entities other than the intended recipient 
is prohibited. If you receive this in error, please contact the sender and delete the 
material from any computer. WAi Technologies has a information security policy in 
accordance with "ISO 27001:2013 ISMS"



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to