Unfortunately, we don't know the answer to your question.

Note that this question is not related to XMLmind XML Editor. It is
related to the use of DocBook XSL style sheets. These DocBook XSL style
sheets are not the work XMLmind. We just bundle them with our product.

May be you'll find an answer in:

http://www.xmlmind.com/xmleditor/_distrib/doc/docbook_xsl/doc/reference.html

or in:

http://www.sagehill.net/docbookxsl/


Dubravko Gorupic wrote:
> If I put <refentry> inside of <section> and convert it to html, I don't get 
> any "table of contents" of given refentries inside of that section, so there 
> are no listed refentries.
> But, if I put <refentry> inside of <chapter>, I get expected list of given 
> refentries.
> Can anyone tell me why doesn't <refentry> inside of <section> act like in 
> <chapter>, so why is there in section "nothing" when I generate html?
> In attachment is simple example where section after conversion to html "has 
> nothing" (no refentries) and chapter "has something" (given refentries).
> 
> ------------------------------------------------------------------------
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
> "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd";>
> <book>
>   <title>TestDocBook</title>
> 
>   <chapter>
>     <title>FirstChap</title>
> 
>     <para>Some chapter text.</para>
> 
>     <section>
>       <title>FirstSec</title>
> 
>       <para>Some section text.</para>
> 
>       <refentry>
>         <refnamediv>
>           <refname>abs</refname>
> 
>           <refpurpose>apsolute value</refpurpose>
>         </refnamediv>
> 
>         <refsect1>
>           <title>Description</title>
> 
>           <para>Absolute value.</para>
>         </refsect1>
>       </refentry>
>     </section>
>   </chapter>
> 
>   <chapter>
>     <title>SecondChap</title>
> 
>     <para>Some more chapter text.</para>
> 
>     <refentry>
>       <refnamediv>
>         <refname>clear</refname>
> 
>         <refpurpose>clears display</refpurpose>
>       </refnamediv>
> 
>       <refsect1>
>         <title>Description</title>
> 
>         <para>Clears display.</para>
>       </refsect1>
>     </refentry>
>   </chapter>
> </book>

Reply via email to