diff --git a/src/apply.xsl b/src/apply.xsl index eb4f868..6f76bcf 100644 --- a/src/apply.xsl +++ b/src/apply.xsl @@ -193,4 +193,20 @@ + + + + + + + + diff --git a/src/transform/apply-gen.xsl b/src/transform/apply-gen.xsl index 1d7241b..732358c 100644 --- a/src/transform/apply-gen.xsl +++ b/src/transform/apply-gen.xsl @@ -112,8 +112,6 @@ dependencies and simply specify the full namespace URI --> - + ., $name-resolv, $ns-prefix, $ns )" /> @@ -147,17 +145,23 @@ mode `f:apply' to invoke the associated application template. --> + - + + + namespace="{$ns}"> + + diff --git a/test/apply.xspec b/test/apply.xspec index 030ac8a..865ba1b 100644 --- a/test/apply.xspec +++ b/test/apply.xspec @@ -172,4 +172,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/transform/apply-gen-test.xsl b/test/transform/apply-gen-test.xsl index ecf6c15..3e79ed3 100644 --- a/test/transform/apply-gen-test.xsl +++ b/test/transform/apply-gen-test.xsl @@ -30,6 +30,8 @@ + + diff --git a/test/transform/apply-gen.xspec b/test/transform/apply-gen.xspec index 5409e87..3d84649 100644 --- a/test/transform/apply-gen.xspec +++ b/test/transform/apply-gen.xspec @@ -22,6 +22,7 @@ @@ -49,9 +50,7 @@ - - + test="exists( xsl:stylesheet/xsl:function/foo:bar )" /> @@ -157,14 +156,16 @@ Exciting! --> - - - - - + + + + + + - + + @@ -177,5 +178,17 @@ + + + + + + + " + + +