RE: [docbook-apps] olink problems

From
Mauritz Jeanson <>
Date
2007-05-13T16:59:52+00:00
ID
000001c79580$10cd48f0$71ea1a51@D7MZ171J
Thread
RE: [docbook-apps] olink problems
> -----Original Message-----
> From: Janning Vygen 
> 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.
> 
> It seems that somewhere the xsl tries to apply its templates to the 
> website.database.xml file.

[...]
 
> %.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,$^)


The errors should go away if you add website.database.xml to the pattern to
be filtered out:

$(filter-out autolayout.xml website.database.xml %xsl,$^)

/MJ