Re: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread mjatromp
Dean, Thanks for the batch files. Are you sure they handle the xinclude scenario I listed? I tracked down the problem to xerces and the fact that it doesn't like xml:id. I tried xerces 2.9.1 and it still seems to have the same problem. I ended up using XOM as proposed in

Re: [docbook-apps] Entity resolving problem in Docbook

2008-06-16 Thread Mohammed Navas ck
Mohammed Navas ck wrote: Dear All I am working on docbook integration into my application. In that I have a file that include a entity file in a xsl file which is included in another xsl file as follows !DOCTYPE xsl:stylesheet [ !ENTITY % common.entities SYSTEM ../common/entities.ent

Re: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread DeanNelson
Marcel OK - my mistake ! Yes the xpointer doesn't work too well with Saxon 6.5 Do you get any artifacts with the XOM tool? Dean In a message dated 6/15/2008 11:07:43 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: Dean, Thanks for the batch files. Are you sure they handle

Re: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread DeanNelson
Marcel One other question - does it handle profiling well? Dean In a message dated 6/15/2008 11:07:43 P.M. Pacific Daylight Time, [EMAIL PROTECTED] writes: Dean, Thanks for the batch files. Are you sure they handle the xinclude scenario I listed? I tracked down the problem to xerces

Re: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread mjatromp
I haven't tried profiling yet: next on the list :) Other than that, setup seems stable but I haven't yet processed hugely complex documents yet. XOM does seem a bit more picky on URI's than xerces, but this was easily solved. Regards, Marcel -- DeanNelson wrote: Marcel One other

Re: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread Georges Schmitz
xpointer specification came never to a clear final status. XXE itself uses an enhanced xp parser to handle xpointer and the only other tool I know of that is able to handle xpointer to this extend is xmllint/xsltproc. So I let xsltproc/xmllint do the job of preprocessing the main file for

Re: [docbook-apps] Entity resolving problem in Docbook

2008-06-16 Thread Mohammed Navas ck
Mohammed Navas ck wrote: Mohammed Navas ck wrote: Dear All I am working on docbook integration into my application. In that I have a file that include a entity file in a xsl file which is included in another xsl file as follows !DOCTYPE xsl:stylesheet [ !ENTITY % common.entities SYSTEM

RE: [docbook-apps] Customizing TOC title and fonts for print output

2008-06-16 Thread Mauritz Jeanson
-Original Message- From: lowry123 Currently I have a TOC for the book, which lists only Chapters, and then a TOC for each Chapter which lists the sections. One thing I am trying to do is center the Table of Contents title for each TOC, instead of left-justified. You can add

RE: [docbook-apps] Docbook 5, xinclude and xpointer

2008-06-16 Thread Mauritz Jeanson
-Original Message- From: Colin Paul Adams Georges == Georges Schmitz [EMAIL PROTECTED] writes: Georges xpointer specification came never to a clear final Georges status. Oh yes it did. It's a recommendation. Yes, it is. But a source of confusion is the fact that

[docbook-apps] Problem using leader-pattern

2008-06-16 Thread William R. (Bill) Greene
Given the following DocBook and stylesheet source, why does the XEP- rendered 'date' component of the title precede the leader? Note that if I replace the two 'xsl:value-of's with literal text (as in Appendix A of Dave Pawson's XSL-FO book), the leader separates them, as I intended. DocBook

[docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
Hello all, I'm making PDF output from a docbook xml source for an article, and am currently experimenting with generating a toc for an appendix in that article. To that end, I inserted the following statements in a xsl-customization layer: xsl:param name=generate.toc \ appendix

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Dave Pawson
Erik Leunissen wrote: Hello all, I'm making PDF output from a docbook xml source for an article, and am currently experimenting with generating a toc for an appendix in that article. To that end, I inserted the following statements in a xsl-customization layer: xsl:param name=generate.toc \

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
Dave Pawson wrote: Are you using the toc/ element in your source file? No, I'm not. Should I? It appears that it isn't always needed to do so since a toc for the main article is generated automagically, without the source having any reference to a toc/ element, provided that I remove any

[docbook-apps] Using custom profiling attributes from the command line

2008-06-16 Thread Jeff Hooker
Hi all, I'm trying to define my custom profiling attributes from the command line rather than from within a customization layer and having problems. I've defined my custom attributes according to http://www.sagehill.net/docbookxsl/AddProfileAtt.html and they function fine when called via a

RE: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Mauritz Jeanson
-Original Message- From: Erik Leunissen I'm making PDF output from a docbook xml source for an article, and am currently experimenting with generating a toc for an appendix in that article. To that end, I inserted the following statements in a xsl-customization layer:

Re: [docbook-apps] How to generate TOC for article/appendix (using FOP)

2008-06-16 Thread Erik Leunissen
Mauritz Jeanson wrote: I think you have to remove the line continuation characters. There should only be whitespace between the entries. I removed it, and that made a difference: Now, when I include the parameter in the customization layer, it *does* generate a TOC, but for the main

[docbook-apps] Namespace error with XSLTPROC

2008-06-16 Thread DeanNelson
Hello I am looking at moving my Docbook processing to XSLTPROC. During the conversion I see these messages: Using libxml 20632, libxslt 10123 and libexslt 813 xsltproc was compiled against libxml 20632, libxslt 10123 and libexslt 813 libxslt 10123 was compiled against libxml