{"id":15288038,"url":"https://github.com/johnhamelink/xslt","last_synced_at":"2025-04-13T06:32:07.265Z","repository":{"id":51124863,"uuid":"84310722","full_name":"johnhamelink/xslt","owner":"johnhamelink","description":"A lightweight wrapper around xsltproc for elixir","archived":false,"fork":false,"pushed_at":"2021-05-22T13:38:08.000Z","size":25,"stargazers_count":12,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T23:11:35.712Z","etag":null,"topics":["elixir","porcelain","xml","xslt","xsltproc"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","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/johnhamelink.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-08T10:57:45.000Z","updated_at":"2024-06-28T10:31:01.000Z","dependencies_parsed_at":"2022-08-28T11:41:44.099Z","dependency_job_id":null,"html_url":"https://github.com/johnhamelink/xslt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhamelink%2Fxslt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhamelink%2Fxslt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhamelink%2Fxslt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnhamelink%2Fxslt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnhamelink","download_url":"https://codeload.github.com/johnhamelink/xslt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637771,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["elixir","porcelain","xml","xslt","xsltproc"],"created_at":"2024-09-30T15:43:54.637Z","updated_at":"2025-04-13T06:32:07.007Z","avatar_url":"https://github.com/johnhamelink.png","language":"Elixir","readme":"# Xslt\n\nThis library is a light wrapper around the\n[xsltproc](http://xmlsoft.org/XSLT/xsltproc2.html) tool which allows for XSLT\ntransformations of XML documents.\n\n## Prerequesites\n\nThe library uses [xsltproc](http://xmlsoft.org/XSLT/xsltproc2.html) to process\nthe documents. It comes preinstalled on OSX, and can be installed simply on\ndebian-based linux distros with `apt-get install xsltproc`.\n\nThe library uses porcelain to communicate safely with xsltproc, so you should\ninstall the [goon](https://github.com/alco/goon/releases) binary for the best\nperformance.\n\n## Usage\n\n```elixir\n{:ok, transformed_xml} = Xslt.transform(\"/path/to/template.xml\", \"/path/to/xml_file.xml\")\n```\n\nUsing params:\n```elixir\n{:ok, transformed_xml} = Xslt.transform(\"/path/to/template.xml\", \"/path/to/xml_file.xml\", \"--stringparam var_name value\")\n```\n```elixir\n{:ok, transformed_xml} = Xslt.transform(\"/path/to/template.xml\", \"\u003cxml\u003e...\u003c/xml\u003e\", \"--xml-as-string\")\n```\n## Installation\n\nIf [available in Hex](https://hex.pm/docs/publish), the package can be installed\nby adding `xslt` to your list of dependencies in `mix.exs`:\n\n```elixir\ndef deps do\n  [{:xslt, \"~\u003e 0.1.0\"}]\nend\n```\n\nDocumentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)\nand published on [HexDocs](https://hexdocs.pm). Once published, the docs can\nbe found at [https://hexdocs.pm/xslt](https://hexdocs.pm/xslt).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhamelink%2Fxslt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnhamelink%2Fxslt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnhamelink%2Fxslt/lists"}