diff --git a/make-includes/xslt_functions.make b/make-includes/xslt_functions.make index 1024ab0..455f19c 100755 --- a/make-includes/xslt_functions.make +++ b/make-includes/xslt_functions.make @@ -76,7 +76,7 @@ # $(1) name of stylesheet parameter # $(2) value for stylesheet parameter (quoted) # -xslt_parameter = $(if $(findstring $(XSLT),'xalan-c'),-p $(1) $(2),$(if $(findstring $(XSLT),'xalan-j'),-param $(1) $(2),$(if $(findstring $(XSLT),'saxon'),$(1)=$(2)))) +xslt_parameter = $(if $(findstring $(XSLT),'xalan-c'),-p $(1) $(2),$(if $(findstring $(XSLT),'xalan-j'),-param $(1) $(2),$(if $(findstring $(XSLT),'saxon'),$(1)=$(2),$(if $(findstring $(XSLT),'saxon-b'),$(1)=$(2))))) ################################################################################ @@ -133,6 +133,16 @@ # saxon = saxon $(1) $(call resolve_uri,$(2)) $(3) $(4) $(5) $(6) $(7) $(8) +# +# SAXON-B +# +# saxon = saxon-b -x:org.apache.xml.resolver.tools.ResolvingXMLReader \ +# -y:org.apache.xml.resolver.tools.ResolvingXMLReader \ +# -r:org.apache.xml.resolver.tools.CatalogResolver \ +# $(1) file:///$(2) $(3) $(4) $(5) $(6) $(7) $(8) +# +saxonb = saxon-b -s:$(1) -xsl:$(call resolve_uri,$(2)) $(3) $(4) $(5) $(6) $(7) $(8) + ################################################################################ # @@ -150,7 +160,7 @@ # # Parameter strings must be pre-formatted using the xslt_parameter function. # -xslt = $(if $(findstring $(XSLT),'xalan-c'),$(call xalanc,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)),$(if $(findstring $(XSLT),'xalan-j'),$(call xalanj,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)),$(if $(findstring $(XSLT),'saxon'),$(call saxon,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8))))) +xslt = $(if $(findstring $(XSLT),'xalan-c'),$(call xalanc,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)),$(if $(findstring $(XSLT),'xalan-j'),$(call xalanj,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)),$(if $(findstring $(XSLT),'saxon'),$(call saxon,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)),$(if $(findstring $(XSLT),'saxon-b'),$(call saxonb,$(1),$(2),$(3),$(4),$(5),$(6),$(7),$(8)))))) # xslt_debug: