Chunking HTML output (and XHTML) with Oxygen 3.1
Posted: Fri Feb 06, 2004 10:50 pm
The following was done on an XML file that transforms correctly as a single chunk using .../docbook/(x)html/docbook.xsl
(x) indicates done both with and without the 'x'
In the transformation scenario I have:
under XSLT: XSL URL: .../docbook/xsl/(x)html/chunk.xsl
transformer: Saxon
under FO Processor: off (nothing checked)
under Output: a file name .../try.html
(I presume this would define the filename for the root chunk)
open in browser
all Show As options are off
When I try to transform I get 2 errors:
E Failed to compile stylesheet. 1 error detected.
E Failure reading file .../(x)html/docbook.xsl in chunk.xsl at line 6
(docbook.xsl IS present in the same directory as chunk.xsl)
If I load .../3.1/oxygen/docbook/xsl/(x)html/chunk.xsl into the Oxygen editor, I get
well-formed
validate fails: 2 errors
E had IO exception with stylesheet file docbook.xsl at chunk.xsl, line 18
F org.apache.xml.utils.WrappedRuntimeException: could not find variable with the name of chunker.output.encoding at chunk.xsl line 1
Can anyone advise me how to chunk (x)html output
Ron
(x) indicates done both with and without the 'x'
In the transformation scenario I have:
under XSLT: XSL URL: .../docbook/xsl/(x)html/chunk.xsl
transformer: Saxon
under FO Processor: off (nothing checked)
under Output: a file name .../try.html
(I presume this would define the filename for the root chunk)
open in browser
all Show As options are off
When I try to transform I get 2 errors:
E Failed to compile stylesheet. 1 error detected.
E Failure reading file .../(x)html/docbook.xsl in chunk.xsl at line 6
(docbook.xsl IS present in the same directory as chunk.xsl)
If I load .../3.1/oxygen/docbook/xsl/(x)html/chunk.xsl into the Oxygen editor, I get
well-formed
validate fails: 2 errors
E had IO exception with stylesheet file docbook.xsl at chunk.xsl, line 18
F org.apache.xml.utils.WrappedRuntimeException: could not find variable with the name of chunker.output.encoding at chunk.xsl line 1
Can anyone advise me how to chunk (x)html output
Ron