On 03/28/2012 02:47:50 PM, Bob Stayton wrote:
> The olink
> database elements are *not* in the DocBook namespace. If you remove
> the namespace
> declaration from the targetset element in your olinkdb.xml, then it
> will work.
Hi Bob,
Thanks very much for your help. That worked,
both with entities and xinclude.
----------------------<snip>-----------------------
FYI, I still get an unexpected warning:
xsltproc --nonet --xinclude \
-o article.html \
--stringparam target.database.document "olinkdb.xml" \
--stringparam current.docid "testarticle" \
html-nochunk.xsl \
article.xml
Request for label of unexpected element: olink
This may be because Debian stable has relatively old stuff.
Getting rid of the xrefstyle="select: label quotedtitle"
attribute in the olink element gets rid of this message.
(Glancing at the output, it seems that the xrefstyle does
the right thing....)
Attached is the output xsltproc when using -v
(using xinclude), tarball of all files also attached.
The return code is 0 so at the moment I'm going to ignore the
problem and get on with my life.
More details should you desire them follow.
----------------------<snip>-----------------------
$ xsltproc --version
Using libxml 20708, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20707, libxslt 10126 and libexslt
815
libxslt 10126 was compiled against libxml 20707
libexslt 815 was compiled against libxml 20707
----------------------<snip>-----------------------
The installed docbook packages:
$ aptitude search ~idocbook
i docbook - standard SGML representation
system for te
i A docbook-dsssl - modular DocBook DSSSL
stylesheets, for pri
i docbook-to-man - converter from DocBook SGML into
roff man
i docbook-utils - Convert Docbook files to other
formats (HT
i A docbook-xml - standard XML documentation system
for soft
i A docbook-xsl - stylesheets for processing
DocBook XML to
i A docbook-xsl-doc-html - stylesheets for processing
DocBook XML fil
i docbook-xsl-ns - stylesheets for processing
DocBook 5 XML t
i docbook5-xml - standard XML documentation system
for soft
----------------------<snip>-----------------------
docbookt-xml is Version: 5.0-2
docbook-xsl-ns is Version: 1.75.2+dfsg-5
Regards,
Karl <>
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein