gulp-xsltproc

1.2.0 • Public • Published

gulp-xsltproc

Build Status

Getting started

Install the module with: npm install gulp-xsltproc --save

There is an external dependency on xsltproc required by node-xsltproc. Check its documentation.

Options

  • warning_as_error : treat xsltproc warning as error (default: true)
  • metadata : emit a new vinyl file with a .json extension containing the metadata from node-xsltproc (default: true)
  • stylesheet : define a custom stylesheet used for transforming
  • additional options are passed as it is to node-xsltproc

Examples

const xsltproc = require('gulp-xsltproc');

gulp.task('default', () => {
  let options = {};
  return gulp.src('src/**/*.xml', {base: 'src'})
  .pipe(xsltproc(options))
  .pipe(gulp.dest('dist'))
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-xsltproc

Weekly Downloads

23

Version

1.2.0

License

Apache-2.0

Unpacked Size

15.4 kB

Total Files

4

Last publish

Collaborators

  • ticapix