W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2006

Layout Problems in Content Index

From: IMRANKHAN <imran.khan@daffodildb.com>
Date: Wed, 29 Nov 2006 21:23:23 -0800 (PST)
Message-ID: <7613847.post@talk.nabble.com>
To: www-xsl-fo@w3.org


Hi,
I am currently working on an assigment in which i have to make a contents
index like shown at the end.
The xml given contains nested <topic> tags
<topic>
  <title>Purpose</title>
  <body></body>
</topic>
....
......
.....
<topic>
 <title>POLICY</title>
   <topic>
   <title>RECORDS OWNERSHIP</title>
       <topic>
          <title>Child Of Records Ownership</title>
       </topic>
   </topic>
   <topic>
  <title>RECORDS CREATION</title> 
   </topic>

</topic>

My Problem is that I am not being able to place the subtopic in proper
layout as shown below , the subtopic index number should fall exactly below
the title of its parent.
eg 

4....Policy
     |
--->4.1....Records OwnerShip
             |
----------->4.1.1....Child Of Records Ownership

See above 4.1 is exactly below Policy ( indicated by |  symbol) .
4.1.1 is exactly below Records Ownership (indicated by | symbol). 
Also notice there is common difference  between index number and title.
Is it possible ?   Please reply with example if possible.

Thanks

1.
PURPOSE........................................................................................................................3

2. REVISION
HISTORY............................................................................................................3
3. PERSONS
AFFECTED.........................................................................................................3
4.
POLICY..........................................................................................................................3
   4.1 RECORDS
OWNERSHIP................................................................................................3 
   4.2 RECORDS
CREATION..................................................................................................4
   4.3 RECORDS
RETENTION.................................................................................................4
   4.4 RECORDS
DESTRUCTION.............................................................................................4
5.
PROCEDURES...................................................................................................................5
   5.1 RECORDS
OWNERSHIP................................................................................................5
   5.2 RECORDS CREATION......
-- 
View this message in context: http://www.nabble.com/Layout-Problems-in-Content-Index-tf2729769.html#a7613847
Sent from the w3.org - www-xsl-fo mailing list archive at Nabble.com.
Received on Monday, 4 December 2006 04:57:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:14 GMT