This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Docbook XSL and RELAX NG documents
- From: Dave Pawson <dpawson at gotadsl dot co dot uk>
- To: Matthew Burgess <matthew at linuxfromscratch dot org>
- Cc: Docbook-Apps <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 16 Dec 2004 17:37:11 +0000
- Subject: Re: [docbook-apps] Docbook XSL and RELAX NG documents
- References: <41C0BDC6.5040602@linuxfromscratch.org>
- Reply-to: davep at dpawson dot co dot uk
On Wed, 2004-12-15 at 22:42 +0000, Matthew Burgess wrote:
> Hi all!
>
> I'm trying to process an XML document using the Docbook XSL stylesheets
> (1.67.2). The document itself is a valid Docbook RELAX NG ('gin')
> document - validated using both 'xmllint' and 'jing'.
>
> Processing the document with:
>
> `xsltproc --xinclude --nonet --output index.html
> /usr/share/xml/docbook/xsl-stylesheets-1.67.2/xhtml/docbook.xsl index.xml`
>
> and
>
> `xmllint --xinclude index.xml --output index-big.xml && java
> org.apache.xalan.xslt.Process -in index-big.xml -xsl
> /usr/share/xml/docbook/xsl-stylesheets-1.67.2/xhtml/docbook.xsl -out
> index.html`
>
> both fail with lots of warnings about templates not found:
>
> "Request for title of element with no title: book
> No template matches book.
> No template matches info in book.
> No template matches title in info.
I'd suspect that its the namespace getting in the way?
I believe the relax ng schema is namespaced?
The stylesheets are ns unaware | innocent as yet.
--
Regards,
Dave Pawson
XSLT + Docbook FAQ
http://www.dpawson.co.uk