{"id":18026768,"url":"https://github.com/yegor256/xsline","last_synced_at":"2026-03-07T11:03:54.121Z","repository":{"id":41299093,"uuid":"475911762","full_name":"yegor256/xsline","owner":"yegor256","description":"Declarative and Immutable Java Chain of XSL Transformations","archived":false,"fork":false,"pushed_at":"2026-02-27T17:10:26.000Z","size":646,"stargazers_count":14,"open_issues_count":11,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-27T21:40:22.815Z","etag":null,"topics":["java","oop","xml","xsl","xslt"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yegor256.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-03-30T14:17:27.000Z","updated_at":"2026-02-17T06:36:13.000Z","dependencies_parsed_at":"2025-12-22T23:04:21.754Z","dependency_job_id":null,"html_url":"https://github.com/yegor256/xsline","commit_stats":null,"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"purl":"pkg:github/yegor256/xsline","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fxsline","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fxsline/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fxsline/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fxsline/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yegor256","download_url":"https://codeload.github.com/yegor256/xsline/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yegor256%2Fxsline/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30212103,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-07T09:02:10.694Z","status":"ssl_error","status_checked_at":"2026-03-07T09:02:08.429Z","response_time":53,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","oop","xml","xsl","xslt"],"created_at":"2024-10-30T08:07:59.023Z","updated_at":"2026-03-07T11:03:49.112Z","avatar_url":"https://github.com/yegor256.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pipeline of XSL Stylesheets\n\n[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)\n[![DevOps By Rultor.com](http://www.rultor.com/b/yegor256/xsline)](http://www.rultor.com/p/yegor256/xsline)\n[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)\n\n[![mvn](https://github.com/yegor256/xsline/actions/workflows/mvn.yml/badge.svg)](https://github.com/yegor256/xsline/actions/workflows/mvn.yml)\n[![PDD status](http://www.0pdd.com/svg?name=yegor256/xsline)](http://www.0pdd.com/p?name=yegor256/xsline)\n[![Maven Central](https://img.shields.io/maven-central/v/com.yegor256/xsline.svg)](https://maven-badges.herokuapp.com/maven-central/com.yegor256/xsline)\n[![Javadoc](http://www.javadoc.io/badge/com.yegor256/xsline.svg)](http://www.javadoc.io/doc/com.yegor256/xsline)\n[![codecov](https://codecov.io/gh/yegor256/xsline/branch/master/graph/badge.svg)](https://codecov.io/gh/yegor256/xsline)\n[![Hits-of-Code](https://hitsofcode.com/github/yegor256/xsline)](https://hitsofcode.com/view/github/yegor256/xsline)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/xsline/blob/master/LICENSE.txt)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=yegor256_xsline\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=yegor256_xsline)\n\nRead this blog post too:\n[Declarative and Immutable Pipeline of Transformations][blog].\n\nAlso, watch [this video](https://www.youtube.com/watch?v=C6CQWzOKEJs)\nfrom Object Thinking Meetup #7.\n\nIt's a declarative and immutable chain of XSL transformations in Java,\nwhich is more convenient than an imperative routine application\nof transformations one by one. [EO compiler](https://github.com/objectionary/eo)\nis an example use case: the source code compiles to XML and then has\nto go through a few dozen transformations written in XSL. Each transformation\nhas to be logged, validated, and in general be flexibly configurable. We started\nwith a series of consecutive instantiations and executions of\n[`XSLDocument`][XSLDocument],\nbut then realized the necessity to turn this workflow into something more\nobject-oriented. This is how this library was born.\n\nYou add this to your `pom.xml`:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.yegor256\u003c/groupId\u003e\n  \u003cartifactId\u003exsline\u003c/artifactId\u003e\n  \u003cversion\u003e0.23.1\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nUse it like this:\n\n```java\nimport com.jcabi.xml.XML;\nimport com.jcabi.xml.XMLDocument;\nimport com.jcabi.xml.XSLDocument;\nimport com.yegor256.xsline.Shift;\nimport com.yegor256.xsline.StXSL;\nimport com.yegor256.xsline.TrDefault;\nimport com.yegor256.xsline.Train;\nimport com.yegor256.xsline.Xsline;\nimport java.io.File;\n\nTrain\u003cShift\u003e train = new TrDefault\u003cShift\u003e()\n  .with(new StXSL(new XSLDocument(new File(\"first.xsl\"))))\n  .with(new StXSL(new XSLDocument(new File(\"second.xsl\"))));\nXML input = new XMLDocument(\"\u003chello/\u003e\");\nXML output = new Xsline(train).pass(input);\n```\n\nThis will transform your `input` XML document\nthrough two XSL stylesheets.\n\nWe use this library in\n[EO-to-Java compiler](https://github.com/objectionary/eo).\n\n## How to Contribute\n\nFork repository, make changes, send us a\n[pull request](https://www.yegor256.com/2014/04/15/github-guidelines.html).\nWe will review your changes and apply them to the\n`master` branch shortly,\nprovided they don't violate our quality standards. To avoid frustration,\nbefore sending us your pull request please run full Maven build:\n\n```bash\nmvn clean install -Pqulice\n```\n\nYou will need Maven 3.3+ and Java 8+.\n\n[blog]: https://www.yegor256.com/2022/08/10/xsline-immutable-pipeline.html\n[XSLDocument]: https://www.javadoc.io/doc/com.jcabi/jcabi-xml/0.21.5/com/jcabi/xml/XSLDocument.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fxsline","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyegor256%2Fxsline","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyegor256%2Fxsline/lists"}