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]

error: No template named "refentry" exists in ...


Hi

I have an error wich I don't anderstand:

I parse my DocBook XML V4.1.2 with

xsltproc ../set-html.xsl ../set.xml

And I have a lot of this error:

No template named "refentry" exists in the context named "title" in the "en" localization.

I have a lot of refentry in the docbook like this one:

    <refentry>
      <refnamediv>
        <refname>new</refname>
        <refpurpose>créer un objet <classname>Sifraw::UriInfos</classname></refpurpose>
      </refnamediv>
      <refsynopsisdiv>
        <funcsynopsis><funcprototype>
            <funcdef>public scalar <function>new</function></funcdef>
            <paramdef>string or URI <parameter>uri</parameter></paramdef>
          </funcprototype></funcsynopsis>
      </refsynopsisdiv>

      <refsect1>
        <title>Description</title>

        <variablelist>
          <title>Paramètres et valeur retournée:</title>
          <varlistentry>
            <term><parameter>uri</parameter></term>
            <listitem>
              <para>L'URI dont on veut avoir des informations. Soit sous la
              forme d'une string soit d'un objet de type URI.</para>
            </listitem>
          </varlistentry>
          <varlistentry>
            <term>valeur retournée</term>
            <listitem>
              <para>Un objet <classname>Sifraw::UriInfos</classname>.</para>
            </listitem>
          </varlistentry>
        </variablelist>
      </refsect1>
    </refentry>


The file set-html.xsl content is:

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version='1.0' xmlns="http://www.w3.org/TR/xhtml1/transitional";
 exclude-result-prefixes="#default">

  <xsl:import href="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/xtchunk.xsl"/>
<!--    <xsl:import href="/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/docbook.xsl"/> -->
  <xsl:variable name="toc.section.depth">0</xsl:variable>
  <xsl:variable name="use.id.as.filename">1</xsl:variable>
  <xsl:variable name="use.extensions">1</xsl:variable>

</xsl:stylesheet>

Thanks for help.


-- 
Emmanuel Chantréau (Montpellier France) http://www.maretmanu.org/homepage/
Je vous vois scié, mais je suis sis céans car il me sied d'asseoir mon séant.



----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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