RE: [docbook-apps] olink problems

2007-05-13 Thread Mauritz Jeanson
 -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



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [docbook-apps] syntax highlighting with xslthl.jar

2007-05-13 Thread Thierry B.

Mauritz Jeanson a écrit :

-Original Message-
From: Thierry B. 


just to avoid that someone else search for a long time like me:

- use java = 1.5, not 1.4 or 1.6. While all other docbook things I do 
works with my previous java 1.4.2,  I got a java error with 
xslthl.jar 
with  this java version and 1.6.01. I use 1.5.06



I'm using Java 1.6.0_01, and XSLTHL highlighting works fine.

Can you please tell us exactly what Java error you got?

Sorry,

problem gone after 1.6.0_01-b06 uninstall and install again.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]