I'll give it a try next time I'm working on docbook, which is unlikely to be
for a few days.
Yes, I thought it was a bit odd that some DB stylesheets specifically need an
old Saxon to work. Perhaps the current work on 1.78.1 stylesheets could look
at this.
(There is a comment at the top which says "Only Saxon 6.4.2 or later is
supported" - if this issue is not fixed the comment should be amended to make
it clearer that only Saxon 6.4.2 to 6.5.5 are supported, and not later !)
What would a straight change to result-document need doing with regard to the
use of the test for element-available('saxon:output') ? (presumably anything
doing that could just be deleted)
And the saxon:character-representation parameter of saxon:output - how would
that need changing, as it doesn't appear to map to a result-document
parameter/attribute (as do all the other params) ?
Appreciatively,
Richard.
PS. I'm reluctant to cross-post but this does now seem to be a
docbook-specific issue....
-----Original Message-----
From: Michael Kay [mailto:mike(_at_)saxonica(_dot_)com]
Sent: 04 February 2013 11:01
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] RE: Saxon via Ant - Getting started
It seems that the docbook1 stylesheets rely on the XSLT processor
supporting one of saxon:output, exsl:document, or (xalan)
redirect:write.
Seems a shame that this should still be the case in 2013 - I
don't know
if the XSLT 2.0 version of docbook has advanced. Meanwhile it
would be
very easy to write an overlay for the templates in
chunker.xsl that work
with xsl:result-document if available. You can probably just take the
module as written and replace "saxon:output" by "xsl:result-document".
Michael Kay
Saxonica
On 04/02/2013 10:11, Kerry, Richard wrote:
Don't know how to chunk with Saxonica
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--