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
[EMAIL PROTECTED]


----- Original Message ----- From: "John Brown" <[EMAIL PROTECTED]>
To: <[email protected]>
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





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

Reply via email to