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]

[DOCBOOK-APPS] Help needed formatting HTML from XML/XSL


Hi,

  I'm scratching my head here, trying to figure out what I'm doing
  wrong..

  I've got a document that looks something like this:

  <book>
   <chapter> <title>This is chapter 1</title>
     <sect1><title> This is section 1 of ch 1</title>
       <para> 
	      This is some text for section 1 
       </para>
     </sect1>
     <sect1><title>This is section 2 of ch 1</title>
       <para>
	     This is some text for section 2
       </para> 
      </sect1>
    </chapter>
   </book>

   When I try to render this into HTML (using XalanC 1.3,
   docbook-xml-4.2b1, docbook-xsl-1.49) I get something which looks
   like this:

   1. This is chapter 1
     1.1 This is section 1 of chapter 1
     1.2 This is section 2 of chapter 1
     
   This is some text for section 1
   This is some text for section 2

   What I want is 

   1. This is chapter 1
     1.1 This is section 1 of chapter 1
     1.2 This is section 2 of chapter 1
   
   1. This is chapter 1
     1.1 This is section 1 of chapter 1
	 This is some text for section 1

     1.2 This is section 2 of chapter 1
	 This is some text for section 2

   Which parameters do I tune ?

   Yours,
	TimT
   
     
-- 
tim.timmerman@asml.nl                              040-2683613
timt@timt.org   Voodoo Programmer/Keeper of the Rubber Chicken
I eschew embedded capital letters in names; to my prose-oriented eyes,
they are too awkward to read comfortably. They jangle like bad typography.
                                            --Rob Pike


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