Subject: RE: [xsl] RE: Saxon via Ant - Getting started From: "Kerry, Richard" <richard.kerry@xxxxxxxx> Date: Mon, 4 Feb 2013 11:15:54 +0000 |
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@xxxxxxxxxxxx] > Sent: 04 February 2013 11:01 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] RE: Saxon via Ant - Getti, Michael Kay | Thread | Re: [xsl] RE: Saxon via Ant - Getti, Michael Kay |
Re: [xsl] RE: Saxon via Ant - Getti, Michael Kay | Date | Re: [xsl] RE: Saxon via Ant - Getti, Michael Kay |
Month |