Registry / serialization / dom4j
library1.6.1javamavenunverified

dom4j is a flexible XML framework for Java that provides parsing, manipulation, and serialization of XML documents.

<dependency> <groupId>dom4j</groupId> <artifactId>dom4j</artifactId> <version>1.6.1</version> </dependency>
INSTALL
IMPORT
SIG · DOM4J
D
dom4j
serializationjavav1.6.1
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.

Document
org.dom4j.Document

Creates a simple XML document using dom4j.

import org.dom4j.Document; import org.dom4j.DocumentHelper; import org.dom4j.Element; public class Dom4jExample { public static void main(String[] args) { Document document = DocumentHelper.createDocument(); Element root = document.addElement("root"); root.addElement("child").addText("Hello, dom4j!"); System.out.println(document.asXML()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.6.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources
dom4j — mvn dependency:get dom4j · libregistry