This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] website and xsltproc


I'm able to build the example website using a command
like yours on a Linux box with the same versions of xsltproc
and the stylesheets.

I think these error messages are indicating that something is
not being properly or completely imported.  The "div" template
it cannot find is in the
DocBook XSL distribution in the file common/targets.xsl , which is
xsl:included in the html/docbook.xsl file that is imported by
website-common.xsl that is imported by tabular.xsl that
is imported by chunk-tabular.xsl that is imported by
your stylesheet.  Whew.

You might try editing the catalog.xml file in your website
distribution to refer to a local copy  of the DocBook XSL
distribution rather than web URLs.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Tilly Bayard-Richard" <Tilly.Bayard-Richard@Jaluna.COM>
To: <docbook-apps@lists.oasis-open.org>
Cc: <Bruno.Pillard@Jaluna.COM>
Sent: Wednesday, December 17, 2003 5:29 AM
Subject: [docbook-apps] 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
>
>
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>


To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]