[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Getting started with chunking
Hi Bergfrid, Please see some answers below:
Even on an online computer with a clean out-of-the-box oxygen installation xhtml/chunk-custom.xsl fails to load net.sf.xslthl.ConnectorSaxon6.
If you duplicate and edit the "Docbook XHTML" default transformation scenario, there is an extension button which configures the list of Java libraries necessary for highlighting code blocks and other Docbook Java extensions.
The list of libraries should contain:
${frameworks}/docbook/xsl/extensions/xslthl-2.0.1.jar
and:
${frameworks}/docbook/xsl/extensions/saxon65.jar
For html/chunk.xsl on this PC it fails with access denied to ar01s02.html.
There are a couple of parameters which need to be set, otherwise all chunks will be generated next to the XSLT stylesheets, and if the XSLT stylesheets are in a folder without access rights (for example in the "C:\Program Files\Oxygen\frameworks\docbook\xsl" the transformation will fail. Again, if you duplicate and edit the "Docbook XHTML" default transformation scenario, it has about 10 parameters set. The most important one is the "base.dir" which will also be the place where the HTML files will be generated.
Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 12/9/2016 1:52 PM, bergfrid.digitaldias@gmail.com wrote:
Neither suggestion works here. I also tested transforming sampleXInclude.xml from sample.xpr. Even on an online computer with a clean out-of-the-box oxygen installation xhtml/chunk-custom.xsl fails to load net.sf.xslthl.ConnectorSaxon6. For html/chunk.xsl on this PC it fails with access denied to ar01s02.html. Mvh. Bergfrid Skaara DiasDen 7. des. 2016 kl. 13.55 skrev Radu Coravu <radu_coravu@sync.ro>: Hi Bergfrid, Applying the "docbook\xsl\html\chunk.xsl" directly over a Docbook 5 file using the Saxon 6 XSLT processor works for me. Did you make any other changes to the "docbook\xsl" folder? Maybe you should also take a look at how the "DocBook XHTML - Chunk" predefined Docbook transformation scenario is configured, what parameters it has, also the XSLT stylesheet is calls: OXYGEN_INSTALL_DIR\frameworks\docbook\xsl\xhtml\chunk_custom.xsl is a custom Oxygen XSLT stylesheet which also allows profiling to work. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.comOn 12/7/2016 2:15 PM, bergfrid.digitaldias@gmail.com wrote: Would be nice if it was that easy. Using chunk.xsl unchanged (import docbook.xsl) gives the same errors and warnings as with our customization. Mvh. Bergfrid Skaara DiasDen 7. des. 2016 kl. 12.43 skrev Dave Pawson <dave.pawson@gmail.com>: On 7 December 2016 at 11:34, Radu Coravu <radu_coravu@sync.ro> wrote: Hi, I think the problem is this one:I already import our custom FO xsl.because the stylesheets which produce customized XSL-FO output have nothing in common with the stylesheets which generate HTML output. Usually the HTML output is modified using a custom CSS.Or using import precedence to override the standard docbook templates Radu? regards DaveRegards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.comOn 12/7/2016 12:20 PM, bergfrid.digitaldias@gmail.com wrote: Hi, we are planning to add HTML to our output formats. Have created PDFs exclusively for years with custom FO styles sheets in an offline tech stack. (1.79.1, db 5.1, oxygen 18.1) I tried to create a new transformation scenario in oxygen using html/chunk.xsl and it spits up over 100 undeclared variables and nonexistent templates. How do I troubleshoot this? The missing variables and templates are used by chunk-common.xsl and chunk-code.xsl. I already import our custom FO xsl. Do I need to import something else? Add something to our catalog.xml? Mvh. Bergfrid Skaara Dias --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org-- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org--------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]