hi,
i am using website 2.6.0 and docbook-xsl 1.72.0
i am trying to use olink as described in Ch. 29 of "Docbook XSL - The complete
Guide" ( from which i just bought a copy as getting tired opening and
scrolling the website at sagehill.net :-)
While processing my webpages i am getting MANY errors like this:
[...]
Element div in namespace '' encountered in document, but no template matches.
Element ttl in namespace '' encountered in div, but no template matches.
Element xreftext in namespace '' encountered in div, but no template matches.
Element document in namespace '' encountered in targetset, but no template
matches.
[...]
It seems that somewhere the xsl tries to apply its templates to the
website.database.xml file.
I am not doing anything special beside a small dtd customization in
website.dtd
Everything works, even olinking but these errors are anoying and slow down the
process.
parts of my Makefile:
autolayout.xml: layout.xml
$(XSLTPROC) --output $@ $(WEBSITE_XSL)/autolayout.xsl $<
make depends
website.database.xml: autolayout.xml
$(XSLTPROC) --output $@ $(WEBSITE_XSL)/website-targets.xsl $<
depends: autolayout.xml
echo $(HTDIR);
$(XSLTPROC) --novalid --output depends \
--stringparam output-root $(HTDIR) \
$(WEBSITE_XSL)/makefile-dep.xsl \
$<
%.html: autolayout.xml website.database.xml $(STYLEDIR)/*xsl
$(XSLTPROC) \
--output $@ \
--novalid \
--stringparam autolayout-file $(CURDIR)/autolayout.xml \
--stringparam website.database.document $(CURDIR)/website.database.xml
\
--stringparam output-root $(HTDIR) \
--stringparam l10n.gentext.default.language $(LANGUAGE) \
$(STYLEDIR)/main.xsl \
$(filter-out autolayout.xml %xsl,$^)
Any hints?
kind regards
Janning
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]