andybluntish / grunt-xsltproc

Apply XSLT stylesheets to XML and HTML documents from Grunt.
MIT License
9 stars 10 forks source link

add xincludestyle support #7

Closed dsine-de closed 10 years ago

dsine-de commented 10 years ago

Hi Andy,

I added the "--xincludestyle" option to the task options.do you see any problems with accepting that?

Thank you, Dennis

andybluntish commented 10 years ago

G'day Dennis,

That should be fine, but I'm not familiar with that option. Can you explain what it does? Also a test case would be great :wink:

dsine-de commented 10 years ago

From: http://www.opensource.apple.com/source/libxslt/libxslt-10.9/libxslt/xsltproc/xsltproc.c

--xincludestyle : do XInclude processing on stylesheets

It adds support for XML includes also inside the stylesheet files. I'll try and write a test.

dsine-de commented 10 years ago

I created a new pull request with included tests.