OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]