Skip to content
XInclude and XPointer java implementation
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fragid
src
xinclude
xincproc-exe
xpointer
.gitattributes
.gitignore
.travis.yml
README.md
checkstyle.xml
license.txt
pom.xml

README.md

XIncProc Framework

Build Status

Quality

The XIncProc Frameword provides an almost complete implementation of W3C XML Inclusions (XInclude) Version 1.0 (Second Edition).

Althougt XInclude is supported into Jaxp implementation since Java 1.5, this support is very incomplete.

XIncProc brings a most powerfull support including xpointer, element, xpath and xmlns schemes.

For a complete documentation see the project site

How to use

API Usage

// Open a stream
final FileInputStream source = new FileInputStream(urlTest.getPath());
// Parse it
final ByteArrayOutputStream output = new ByteArrayOutputStream();
XIncProcEngine.parse(source, urlTest.toExternalForm(), output);
// That's all !
final String result = output.toString("UTF-8");

Just have a look to Specs for more samples

Line command

If you to use XInclude resolution in batch mode, you can call the engine through CLI interface: java -jar xincproc.jar -if sample.xml -of output.xml

Specifications and conformance

XIncProc conformance is tested against the official Xinclude Test Suite

See conformance here

Issue Tracking

You can create issues on Github here: https://github.com/etourdot/xincproc/issues

License

Copyright 2013 Emmanuel Tourdot

The XIncProc frameword is released under version 3.0 of the LGPL Licence

Thanks

Many thanks to :

You can’t perform that action at this time.