Michael Kay wrote:
Thanks. So how does a Saxon 7 user accomplish what s/he was
doing with
saxon:output in Saxon 6 without a combinatorial explosion in
the number
of xsl:output variants?
If you have a use case that shows the need to set the attributes
dynamically, rather than just selecting one of a set of preconfigured
output formats, I suggest you submit it to
public-qt-comments(_at_)w3(_dot_)org(_dot_)
(The fact that one product offered the capability in an XSLT 1.0
processor won't cut much ice).
I will do that.
The use case I am looking at is chunker.xsl from the docbook xhtml and
html stylesheets. As you may already know, it makes use of both
saxon:output and exsl:document to parameterize every one of the standard
output attributes (and then some). It does also use xalanredirect:write,
so perhaps one could argue that the dynamic attributes aren't essential,
but they are used.
At least I read the 2.0 spec correctly. Thanks for confirming that.
Bob Foster
http://www.xmlbuddy.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list