XIncproc - XInclude processor

XInclude processor is the main part of XIncProc framework.

Лицензия

Лицензия

Группа

Группа

org.etourdot
Идентификатор

Идентификатор

xinclude
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

XIncproc - XInclude processor
XInclude processor is the main part of XIncProc framework.
Ссылка на сайт

Ссылка на сайт

http://etourdot.github.io/xincproc/xinclude

Скачать xinclude

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.etourdot/xinclude/ -->
<dependency>
    <groupId>org.etourdot</groupId>
    <artifactId>xinclude</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.etourdot/xinclude/
implementation 'org.etourdot:xinclude:1.0.1'
// https://jarcasting.com/artifacts/org.etourdot/xinclude/
implementation ("org.etourdot:xinclude:1.0.1")
'org.etourdot:xinclude:jar:1.0.1'
<dependency org="org.etourdot" name="xinclude" rev="1.0.1">
  <artifact name="xinclude" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.etourdot', module='xinclude', version='1.0.1')
)
libraryDependencies += "org.etourdot" % "xinclude" % "1.0.1"
[org.etourdot/xinclude "1.0.1"]

Зависимости

compile (10)

Идентификатор библиотеки Тип Версия
commons-io : commons-io jar 2.4
org.apache.commons : commons-lang3 jar 3.1
xerces : xercesImpl jar 2.11.0
xml-apis : xml-apis jar 1.4.01
org.etourdot : xpointer jar 1.0.1
org.slf4j : slf4j-api jar 1.7.2
com.google.guava : guava jar 14.0.1
net.sf.saxon : Saxon-HE jar 9.5.0.1
org.antlr : antlr-runtime jar 3.4
ch.qos.logback : logback-classic jar 1.0.6

test (6)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
xmlunit : xmlunit jar 1.4
org.concordion : concordion jar 1.4.3
org.concordion : concordion-extensions jar 1.1.0
ognl : ognl jar 3.0.2
xom : xom jar 1.2.5

Модули Проекта

Данный проект не имеет модулей.

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 :

Версии библиотеки

Версия
1.0.1
1.0.0