[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: website and xsltproc
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]