1.2.0 • Published 3 years ago

gulp-xsltproc v1.2.0

Weekly downloads
55
License
Apache-2.0
Repository
github
Last release
3 years ago

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'))
});
1.2.0

3 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago