Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/indoqa/indoqa-xml

XML pipelines and tools
https://github.com/indoqa/indoqa-xml

dom indoqa-library java pipelines sax xml

Last synced: 4 days ago
JSON representation

XML pipelines and tools

Awesome Lists containing this project

README

        

# Indoqa XML

Indoqa XML provides pipeline-based XML processing and XML tools. It reuses parts of
[Apache Cocoon 3](http://cocoon.apache.org//3.0/) (cocoon-pipeline, cocoon-pipeline-sax)
and the [Cocoon XML](http://svn.apache.org/repos/asf/cocoon/subprojects/cocoon-xml/trunk/) subproject.

## Pipeline DSL

### Transform XML and get an XML string

```java
String result = xmlPipeline()
.of("")
.transformWithXSLT(this.getClass().getResource("/test.xslt"))
.asXmlString();
```

### Transform XML and get a DOM document

```java
Document result = xmlPipeline()
.of("")
.transformWithXSLT(this.getClass().getResource("/test.xslt"))
.asDocument();
```