{"id":23901489,"url":"https://github.com/informatix8/gulp-saxon-xslt","last_synced_at":"2025-04-15T13:40:28.052Z","repository":{"id":57118654,"uuid":"224006471","full_name":"informatix8/gulp-saxon-xslt","owner":"informatix8","description":"Gulp plugin to transform XML via Saxon","archived":false,"fork":false,"pushed_at":"2025-02-05T13:22:43.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T20:37:16.404Z","etag":null,"topics":["gulp","saxon","xml","xsl","xslt"],"latest_commit_sha":null,"homepage":null,"language":"XSLT","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/informatix8.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-25T17:38:59.000Z","updated_at":"2025-02-05T13:22:47.000Z","dependencies_parsed_at":"2022-08-22T19:40:18.550Z","dependency_job_id":null,"html_url":"https://github.com/informatix8/gulp-saxon-xslt","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Fgulp-saxon-xslt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Fgulp-saxon-xslt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Fgulp-saxon-xslt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/informatix8%2Fgulp-saxon-xslt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/informatix8","download_url":"https://codeload.github.com/informatix8/gulp-saxon-xslt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248593758,"owners_count":21130312,"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":["gulp","saxon","xml","xsl","xslt"],"created_at":"2025-01-04T21:20:49.291Z","updated_at":"2025-04-15T13:40:28.034Z","avatar_url":"https://github.com/informatix8.png","language":"XSLT","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gulp Saxon XSLT\n\nBring your own Saxon library to transform XML with XSL 2 or 3.\n\n\u003e \u003cspan style=\"color:red;text-transform:uppercase;\"\u003e! Important\u003c/span\u003e  \n\u003e This module only supports ESM.\n\n## Features\n\n- Easily use `\u003cxsl:import /\u003e` to take advantage of other external libraries\n- Supply parameters (variables) to the XSL file\n- Splitting output via `\u003cxsl:result-document\u003e` adds documents to the gulp stream\n- Supports DTDs referenced from XML\n- Handle your own error events\n\n## Usage\n\n### Install\n\n```shell\nnpm install @informatix8/gulp-saxon-xslt --save-dev\n```\n\n## Example\n\n```javascript\nimport gulp from 'gulp';\nimport xslt from '@informatix8/gulp-saxon-xslt';\n\nexport function xslt() {\n  return gulp\n    .src('*.xml', { buffer: false })\n    .pipe(\n      xslt({\n        jar: 'saxon9he.jar',\n        xsl: 'stylesheet.xsl',\n        params: {\n          param1: 'foo',\n          param2: 'bar'\n        },\n        debugMode: false,\n        abortOnError: true\n      })\n    )\n    .on('end', function handleEnd() {\n      console.log('XSLT Ended');\n    })\n    .on('error', function handleError(err) {\n      console.log('Caught Error');\n      console.error(err);\n    })\n    .pipe(gulp.dest('dist/'));\n}\n```\n\n## Release\n\n```shell\ngit tag -a vX.Y.Z\ngit push origin master\ngit push origin --tags\nnpm publish --access=public .\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatix8%2Fgulp-saxon-xslt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finformatix8%2Fgulp-saxon-xslt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finformatix8%2Fgulp-saxon-xslt/lists"}