Skip to content
forked from yegor256/xsline

Java Chain of XSL Transformations

License

Notifications You must be signed in to change notification settings

Vichukano/xsline

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EO principles respected here DevOps By Rultor.com We recommend IntelliJ IDEA

mvn PDD status Maintainability Maven Central

codecov Hits-of-Code Lines of code License

It's a chain of XSL transformations in Java.

You add this to your pom.xml:

<dependency>
  <groupId>com.yegor256</groupId>
  <artifactId>xsline</artifactId>
</dependency>

Use it like this:

import com.jcabi.xml.XML;
import com.jcabi.xml.XMLDocument;
import com.jcabi.xml.XSLDocument;
import com.yegor256.xsline.Xsline;
import com.yegor256.xsline.StXSL;

XML input = new XMLDocument("<hello/>");
XML output = new Xsline()
  .with(StXSL(new XSLDocument("first.xsl")));
  .with(StXSL(new XSLDocument("second.xsl")));
  .pass(input);

This will transform your input XML document through two XSL stylesheets.

How to Contribute

Fork repository, make changes, send us a pull request. We will review your changes and apply them to the master branch shortly, provided they don't violate our quality standards. To avoid frustration, before sending us your pull request please run full Maven build:

$ mvn clean install -Pqulice

You will need Maven 3.3+ and Java 8+.

About

Java Chain of XSL Transformations

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Java 93.4%
  • XSLT 6.6%