Skip to content

Indoqa/indoqa-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Indoqa XML

Indoqa XML provides pipeline-based XML processing and XML tools. It reuses parts of Apache Cocoon 3 (cocoon-pipeline, cocoon-pipeline-sax) and the Cocoon XML subproject.

Pipeline DSL

Transform XML and get an XML string

String result = xmlPipeline()
    .of("<x></x>")
    .transformWithXSLT(this.getClass().getResource("/test.xslt"))
    .asXmlString();

Transform XML and get a DOM document

Document result = xmlPipeline()
    .of("<x></x>")
    .transformWithXSLT(this.getClass().getResource("/test.xslt"))
    .asDocument();