Eric Niebler wrote:
I have a bunch of XML files that I xi:include from a top-level XML file. The resulting table of contents looks like this:

Doc 1
Doc 2
Doc 3
Doc 4
Doc 5
Doc 6

But I'd like it to look like this:

Doc 1
  Doc 2
    Doc 3
    Doc 4
  Doc 5
Doc 6

How do I do that?

Where are you placing the xi:include commands? You would need to place them in the section they are associated with, e.g.:


doc.xml
  <library><title>Lib</title>
     <xi:include xref = "doc1.xml"/>
     <xi:include xref = "doc6.xml"/>
  </library>

doc1.xml
  <section><title>Doc 1</title>
     <xi:include xref = "doc2.xml"/>
  </section>

Regards,
Reece

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Boost-docs mailing list
[EMAIL PROTECTED]
Unsubscribe and other administrative requests: 
https://lists.sourceforge.net/lists/listinfo/boost-docs

Reply via email to