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: 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




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