[docbook-apps] Missing Xerces Classpath definition in DocBook XSL 1.77.0 Webhelp Sample

2012-05-30 Thread Dermot O'Halloran

Hi, 

The xinclude contained in the Webhelp sample does not work unless you
include Xerces in the Ant xslt task. The xinlcude is ignored with a Element
include in namespace 'http://www.w3.org/2001/XInclude' encountered in book,
but no template matches. message:

chunk:
[mkdir] Created dir: C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs
 [xslt] Processing C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docsrc\readme.xml to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null172184698
 [xslt] Loading stylesheet C:\Program Files
(x86)\docbook-xsl-1.77.0\profiling\profile.xsl
 [xslt] Processing C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null172184698 to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\null734982840
 [xslt] Loading stylesheet C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\xsl\webhelp.xsl
 [xslt] language: en
 [xslt] Writing docs/content/ch01.html for chapter
 [xslt] Writing docs/content/ch02s01.html for section
 [xslt] Writing docs/content/ch02s02.html for section
 [xslt] Writing docs/content/ch02s03.html for section
 [xslt] Writing docs/content/ch02s04.html for section
 [xslt] Writing docs/content/ch02s05.html for section
 [xslt] Writing docs/content/ch02.html for chapter
 [xslt] Writing docs/content/ch03s01.html for section
 [xslt] Writing docs/content/ch03s02.html for section
 [xslt] Writing docs/content/ch03.html for chapter
 [xslt] Writing docs/content/ch04.html for chapter
 [xslt] Element include in namespace 'http://www.w3.org/2001/XInclude'
encountered in book, but no template matches.
 [xslt] Writing docs/content/index.html for book
 [xslt] Writing docs/index.html
 [xslt] Writing docs/content/search/l10n.js
 [copy] Copying 92 files to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs
 [copy] Copying 1 file to C:\Program Files
(x86)\docbook-xsl-1.77.0\webhelp\docs\content

Including the Xerces JAR in the xslt call as follows gets it working:

xslt
  in=${input-xml}
out=${xincluded-profiled.xml}
style=../profiling/profile.xsl classpath=${xercesImpl.jar}

I'm not sure why the Xerces JAR needs to be declared explicitly in this case
as the xinclude works if the sample is built using xsltproc from the command
line (in Ubuntu). I'm using Java 1.6.0_31.

Rgds, Dermot
-- 
View this message in context: 
http://old.nabble.com/Missing-Xerces-Classpath-definition-in-DocBook-XSL-1.77.0-Webhelp-Sample-tp33933003p33933003.html
Sent from the docbook apps mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



RE: [docbook-apps] generating pdf from DocBook slides

2012-05-30 Thread honyk
Hi Justus,
 
  I've tried to utilize Slides DTD for our training courses but quicky
  find the element suite too small and hence limiting me.
 
 Did you use slides or slides-full? The latter contains essentially
 all of DocBook.

to be honest, your reply was the first place I saw this 'slides-full'
option. And it looks really promising.

FYI to persuade my colleagues to abandon PowerPoint I had to offer them an
acceptable replacement. I had previous experience with Oxygen XML wysiwyg
mode so I used this tool here as well. There was no built-in support for
DocBook Slides (my request is here
http://www.oxygenxml.com/forum/topic5128.html ) and as I was in a hurry,
instead of customizing Oxygen I tweaked the core DocBook.

If I started now (and had enough time), I'd likely use the opposite
approach.

Jan





-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org



Re: [docbook-apps] generating pdf from DocBook slides

2012-05-30 Thread Stefan Seefeld
On 05/30/2012 02:32 PM, honyk wrote:
 Hi Justus,
  
 I've tried to utilize Slides DTD for our training courses but quicky
 find the element suite too small and hence limiting me.
  
 Did you use slides or slides-full? The latter contains essentially
 all of DocBook.
 to be honest, your reply was the first place I saw this 'slides-full'
 option. And it looks really promising.

I wasn't aware of this either. However, as we are now working on a
slides grammar on top of DB5, I hope we can soon discuss what the
canonical vocabulary should look like in the RelaxNG age. :-)

 FYI to persuade my colleagues to abandon PowerPoint I had to offer them an
 acceptable replacement. I had previous experience with Oxygen XML wysiwyg
 mode so I used this tool here as well. There was no built-in support for
 DocBook Slides (my request is here
 http://www.oxygenxml.com/forum/topic5128.html ) and as I was in a hurry,
 instead of customizing Oxygen I tweaked the core DocBook.

 If I started now (and had enough time), I'd likely use the opposite
 approach.

FWIW, I'm using xxe from xmlmind (http://www.xmlmind.com/xmleditor/),
and am very happy with it. It comes with Slides (3.4) support built in,
and thus it's easy to get started writing DB-based slides.

I have tweaked the fo stylesheets quite heavily to produce pdf slides in
an acceptable format, and would like to merge those changes (hopefully
improvements) back into mainline as I have time. As you also seem to
have done quite some work on fo stylesheets to produce the slides that
you were referring to in an earlier mail, perhaps you would also be
willing to contribute your work back ?

As part of this year's GSoC project we will mainly focus on HTML-based
presentations, and in particular include S5
(http://meyerweb.com/eric/tools/s5/).

Stefan


-- 

  ...ich hab' noch einen Koffer in Berlin...


-
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org