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] No template for <XPath-expression> (or any of its leaves)


Hi,
I'm not able to duplicate this problem with that version of the stylesheets 
and xsltproc.  I get no error message and the output is:

    See "Modify", step #2

Are you using a customization layer?  If so, does it work for you without 
the customization layer?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "John Brown" <johnbrown105@hotmail.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Saturday, June 28, 2008 6:03 PM
Subject: [docbook-apps] No template for <XPath-expression> (or any of its 
leaves)


> Hello All,
>
> xsltproc gives the following error message:
>
> No template for "/book/chapter/section/section/orderedlist" (or any of its
> leaves) exists
> in the context named "xref-number" in the "en" localization.
>
> The goal is to produce:
> See "Search", step #[step-of-interest] [page-that-contains-step]" from an
> orderedlist that looks like this:
>
> <orderedlist xml:id="modify"/>
>  <title>Modify</title>
>  <listitem>
>    <!-- step #1 -->
>  <listitem xml:id="search">
>    <!-- step #2 -->
>  </listitem>
> ...
> </orderedlist>
>
> I wrote:
>
> See <xref linkend="modify" xrefstyle="select: quotedtitle nopage"/>,
> step #<xref linkend="search"/>
>
> The first xref apparently causes the error, and the output is:
> , step #2 [88], so the second xref is OK.
>
> I am using:
> docbook-xsl-ns-1.74.0
> docbook-5.0b5
> xsltproc (latest kubuntu) compiled against libxml 20630, libxslt 10122 and
> libexslt 813
> libxslt 10122 was compiled against libxml 20630
> libexslt 813 was compiled against libxml 20630
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
> 



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