Registry / serialization / xmlworker

xmlworker

JSON →
library5.5.13javamavenunverified

Parses XML to PDF with CSS support using iText.

<dependency> <groupId>com.itextpdf.tool</groupId> <artifactId>xmlworker</artifactId> <version>5.5.13</version> </dependency>
INSTALL
IMPORT
SIG · XMLWORKER
X
xmlworker
serializationjavav5.5.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

XMLWorkerHelper
✓ com.itextpdf.tool.xml.XMLWorkerHelper

Converts an HTML file to PDF using XMLWorker.

import com.itextpdf.tool.xml.XMLWorkerHelper; import com.itextpdf.text.Document; import com.itextpdf.text.pdf.PdfWriter; import java.io.FileOutputStream; public class Example { public static void main(String[] args) throws Exception { Document document = new Document(); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("output.pdf")); document.open(); XMLWorkerHelper.getInstance().parseXHtml(writer, document, new FileInputStream("input.html")); document.close(); } }
Debug
Known issues
gotchaXMLWorker 5.x is based on iText 5, which has AGPL licensing; commercial use may require a license.
fix
Consider using iText 7 with pdfHTML for AGPL-free alternatives or purchase a commercial license.
affects: >=5.0.0
Upgrade
Version history
5.5.13latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
28
OpenAI (training)
1
Resources
xmlworker — mvn dependency:get xmlworker · libregistry