Re: [docbook-apps] XSL customisation layer: directory structure

2009-03-30 Thread Bob Stayton
Hi Jennifer, This is curious. There are almost no constraints on where the various stylesheet modules are located. They can be scattered over many directories, as the DocBook XSL files are. You could even import with an http URL. In general, a relative import address is taken as relative t

Re: [docbook-apps] xpath into docbook namespace

2009-03-30 Thread Franklin Einspruch
That works. Thanks to all for the assist, and let me add how enormously honored I am to get the answer from the very author whose book graces my desk at the moment. Cheers! Franklin -- Einspruch: http://einspruch.com Artblog.net: http://artblog.net The Moon Fell On Me: http://themoonfellonme.com

[docbook-apps] XSL customisation layer: directory structure

2009-03-30 Thread Jennifer Moore
Hello all (and a belated thanks to Mauritz and Bob for helpful replies to my last question, which I seem to have neglected to report back on at the time - have got link title attributes working nicely now via XLink.) I'd been thinking I'd like to learn how to do a custom layer of XSL, so as to

Re: [docbook-apps] colspan support for table/informaltable

2009-03-30 Thread Shane Handford
Thanks! I will be adding the bug shortly. ~Shane Bob Stayton wrote: Looks like this is an unimplemented feature for tables using HTML markup in the DocBook source. It should be supported. Could you please file a bug report on the DocBook SourceForge site about it? Thanks. Bob Stayton Sage

Re: [docbook-apps] XSL Appendix titles

2009-03-30 Thread Richard Tector
Bob Stayton wrote: OK, but just for future reference, here is the scoop on appendix *in* article. The title is generated from a gentext template located in common/en.xml, contained in the l:context name="title-numbered" that looks like this: The gentext template for just name="appendix" lo

Re: [docbook-apps] XSL Appendix titles

2009-03-30 Thread Bob Stayton
OK, but just for future reference, here is the scoop on appendix *in* article. The title is generated from a gentext template located in common/en.xml, contained in the l:context name="title-numbered" that looks like this: The gentext template for just name="appendix" looks like this:

Re: [docbook-apps] XSL Appendix titles

2009-03-30 Thread Richard Tector
Richard Tector wrote: Processing my article either using xsl/docbook/html/docbook.xsl or going to PDF via XSL-FO produces A: Blah for both the title for the secion AND in the ToC. Perhaps it's because it's an article. I'll go and retry as a book. As a book containing an article followed by t

Re: [docbook-apps] xpath into docbook namespace

2009-03-30 Thread Bob Stayton
Hi, If you are using the namespace-aware version of the stylesheets (with "-ns-" in the directory name), then you need to add the namespace declaration to your stylesheet and use the namespace in element matches. See this doc for details: http://www.sagehill.net/docbookxsl/CustomDb5Xsl.html

Re: [docbook-apps] XSL Appendix titles

2009-03-30 Thread Richard Tector
Bob Stayton wrote: > - Original Message - > From: "Richard Tector" > To: > Sent: Sunday, March 29, 2009 1:44 PM > Subject: [docbook-apps] XSL Appendix titles > >> I'm encountering difficulties in finding the correct attributes to set >> in my XSL to prefix appendix titles with Appendix,

[docbook-apps] TextFactory import failing under Saxon 9.1

2009-03-30 Thread Shane Handford
I'm not sure if I should be posting this to the Saxon list as well. Let me know what you think. docbook-xsl-1.74.3/fo/graphics.xsl xmlns:stext="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.TextFactory"; Results in: java.lang.ClassCastException: com.nwalsh.saxon.TextFactory Full error message

[docbook-apps] RE: xpath into docbook namespace

2009-03-30 Thread Cavicchio_Rob
Franklin Einspruch [mailto:franklin.einspr...@gmail.com] wrote: > Hi - Docbook newb here. What is the XPath selector for in the > following trivial Docbook article? The regular article/title isn't > working because of the namespace declaration, although I don't know > why. > > > http://docbook.