schematron icon indicating copy to clipboard operation
schematron copied to clipboard

Improvement to iso_schematron_skeleton_for_saxon.xsl - param instead of variable

Open phax opened this issue 8 years ago • 0 comments

To have the possibility to pass in certain values from the outside, axsl:param gives more flexibility compared to axsl:variable. This is based on https://github.com/phax/ph-schematron/issues/8#issuecomment-90556322

I changed it e.g. here: https://github.com/phax/ph-schematron/blob/master/ph-schematron/src/main/resources/schematron/20100414-xslt2/iso_schematron_skeleton_for_saxon.xsl#L1337-L1339

As I'm not an XSLT expert there might be good reasons why it is like it is, but on the other hand, opening for data from the outside might be valuable.

phax avatar Jun 01 '17 15:06 phax