As pointed out in #42 xsl:key should be used in Schematron without restrictions.
When I use an xsl:key with a sequence-constructor as content instead of a @use-attribute I get the error:
An xsl:key element must either have a @use attribute or have content
seems the content is ignored by skeleton. When I rewrite my key, putting the sequence-constructor in an xsl:function and refer it in a @use-attribute ecerythin works as expected.
As pointed out in #42
xsl:key
should be used in Schematron without restrictions.When I use an
xsl:key
with a sequence-constructor as content instead of a@use
-attribute I get the error:seems the content is ignored by skeleton. When I rewrite my key, putting the sequence-constructor in an
xsl:function
and refer it in a@use
-attribute ecerythin works as expected.My Example:
does not work, but:
does – which took a bit of otherwise unnecessary refactoring.