diff --git a/src/apply/ref.xsl b/src/apply/ref.xsl index 3ea34de..bb94d73 100644 --- a/src/apply/ref.xsl +++ b/src/apply/ref.xsl @@ -104,19 +104,24 @@ - + + + + select="$desc/element()[ 1 ]" /> @@ -143,4 +148,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/apply/ref.xspec b/test/apply/ref.xspec index da2a9df..c3e67b1 100644 --- a/test/apply/ref.xspec +++ b/test/apply/ref.xspec @@ -38,6 +38,14 @@ select="f:make-ref( QName( $foo-uri, 'foo:bar' ), $test-arity )" /> + + + + + + + + @@ -169,10 +177,11 @@ - - + + @@ -186,6 +195,22 @@ + + + + + + + + + + + @@ -241,4 +266,134 @@ select="$test-arity - 3" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +