This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] website and xsltproc
- From: Tilly Bayard-Richard <Tilly dot Bayard-Richard at Jaluna dot COM>
- To: docbook-apps at lists dot oasis-open dot org
- Cc: Bruno dot Pillard at Jaluna dot COM
- Date: Wed, 17 Dec 2003 14:29:22 +0100 (MET)
- Subject: [docbook-apps] website and xsltproc
- Reply-to: Tilly Bayard-Richard <Tilly dot Bayard-Richard at Jaluna dot COM>
Bonjour,
I am working on migrating my DocBook publishing environment from Solaris to
Linux RedHat 8.0. My docs (books, slides, webpages) are the same on both sides.
Also for the DTDs (docbook-xml-4.2) and the XSL stylesheets (docbook-xsl-1.62.4,
slides-3.2.0, website-2.5.0), and I use the same commands or Makefiles.
I have no problems with the books (with xsltproc for HTML and FO, FOP for PDF).
The big problem is with my web pages.
Here is the command line:
xsltproc --stringparam collect.xref.targets yes \
--stringparam output-root htdocs \
mywebsite.xsl autolayout.xml
mywebsite.xsl imports chunk-tabular.xsl
The pages are generated very nicely on Solaris. But on Linux, I get a flow of
error messages including:
[...]
runtime error: file /usr/local/share/xml/website/xsl/website-common.xsl line 764
element call-template
xsl:call-template : template div not found
Writing website.database.xml for autolayout
mywebsite.xml
Update: htdocs/index.html: mywebsite.xml
runtime error: file /usr/local/share/xml/website/xsl/olink.xsl line 104 element
param
unregistered variable target.database.document
xmlXPathCompOpEval: parameter error
xmlXPathCompiledEval: evaluation failed
runtime error: file /usr/local/share/xml/website/xsl/olink.xsl line 104 element
param
Evaluating variable offsite.target.database failed
The xsltproc installations are respectively:
- on Solaris
Using libxml 20426, libxslt 10022 and libexslt 713
xsltproc was compiled against libxml 20426, libxslt 10022 and libexslt 713
libxslt 10022 was compiled against libxml 20426
libexslt 713 was compiled against libxml 20426
- on RedHat 8.0
Using libxml 20603, libxslt 10101 and libexslt 801
xsltproc was compiled against libxml 20603, libxslt 10101 and libexslt 801
libxslt 10101 was compiled against libxml 20603
libexslt 801 was compiled against libxml 20603
Thanks a lot for your help. Amicalement,
--
Tilly Bayard-Richard
http://tilly.bayardrichard.free.fr
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.