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]

RE: Help project structure


Oops... my examples are messed up (they're not different in the way I
intended them to be). I meant to say:

Case 1:
<section>
<title>Foo</title>
<para>The following sections contain stuff about foo</para>
<section>
<title>A subsection about foo</title>

Case 2:
<section>
<title>Foo</title>
<section>
<title>A subsection about foo</title>

David

> -----Original Message-----
> From: David Cramer 
> Sent: Thursday, January 31, 2002 1:59 PM
> To: Maggie Strevell; denisb@rational.com; 
> docbook-apps@lists.oasis-open.org
> Subject: RE: DOCBOOK-APPS: Help project structure
> 
> 
> > I would love to see a parameter that allows you to exclude 
> > the generation of
> > book and chapter files.  
> 
> What you (and I) really want is for the xsl to check to see if there's
> content in the chapter or section before the next section 
> begins. So the
> following two cases would be handled differently:
> 
> Case 1: The following sibling of title != section... so there is a
> separate chunk and toc entry for the section titled Foo.
> 
> <section>
> <title>Foo</title>
> <para>The following sections contain stuff about foo</para>
> <section>
> <title>A subsection about foo</title>
> ...
> 
> Case 2: The following sibling of the title = section, so there is no
> separate chunk for the section titled Foo. There could be a toc entry,
> but it would take you to a chunk that contains the title for Foo, the
> title for A subsection about foo, and the rest of A subsection about
> foo..." 
> 
> <section>
> <title>Foo</title>
> <para>Here's stuff about foo</para>
> <section>
> <title>A subsection about foo</title>


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