Skip to content

gulp plugin for node-xsltproc (wrapper around xsltproc with profiling information)

License

Notifications You must be signed in to change notification settings

ticapix/gulp-xsltproc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

gulp plugin for node-xsltproc (wrapper around xsltproc with profiling information)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published