# docx4j-ImportXHTML
**Repository Path**: ziheng93/docx4j-ImportXHTML
## Basic Information
- **Project Name**: docx4j-ImportXHTML
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: VERSION_11_4_8
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2023-10-31
- **Last Updated**: 2023-10-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
docx4j-ImportXHTML
==================
Converts XHTML to OpenXML WordML (docx) using docx4j; there is also some support for converting to pptx.
[](https://maven-badges.herokuapp.com/maven-central/org.docx4j/docx4j-ImportXHTML)
docx4j is licensed under ASLv2.
This project is licensed under LGPL v2.1 (or later), which is the license used by openhtmltopdf (the main dependency).
See legals/NOTICE for details.
docx4j for JAXB 3.0 and Java 11+
--------------------------------
docx4j-ImportXHTML v11.4.6 uses Jakarta XML Binding API 3.0, as opposed to JAXB 2.x used in earlier versions (which import javax.xml.bind.*). Since this release uses jakarta.xml.bind, rather than javax.xml.bind, if you have existing code which imports javax.xml.bind, you'll need to search/replace across your code base, replacing javax.xml.bind with jakarta.xml.bind. You'll also need to replace your JAXB jars (which Maven will do for you automatically; otherwise get them from the relevant zip file).
Being a JPMS modularised release, the jars also contain module-info.class entries.
To use it, add [](https://maven-badges.herokuapp.com/maven-central/org.docx4j/docx4j-ImportXHTML)
plus the dep corresponding to the JAXB implementation you wish to use
* [](https://maven-badges.herokuapp.com/maven-central/org.docx4j/docx4j-JAXB-ReferenceImpl)
docx4j-JAXB-ReferenceImpl
* [](https://maven-badges.herokuapp.com/maven-central/org.docx4j/docx4j-JAXB-MOXy)
docx4j-JAXB-MOXy
You should use one and only one of docx4j-JAXB-*
docx4j-ImportXHTML v8
----------------------
This is docx4j-ImportXHTML for Java 8.
How do I build docx4j?
----------------------
Get it from GitHub, at https://github.com/plutext/docx4j
```
mvn clean
mvn install
```