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: [docbook-apps] simplesect out of TOC


Hi,
The stylesheet itself does not contain that role value.  That is a
customized role value. It can be any string as long as you put the matching
value in your template in your customization layer. In this case it is an
empty template:

<xsl:template match="simplesect[@role = 'NotInToc']" mode="toc">
  <!-- Empty template -->
</xsl:template>

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Cai Qian" <caiqian@gnome.org>
To: "Bob Stayton" <bobs@sagehill.net>
Cc: "Docbook-apps" <docbook-apps@lists.oasis-open.org>
Sent: Saturday, November 13, 2004 1:18 AM
Subject: Re: [docbook-apps] simplesect out of TOC


> On Sat, 2004-11-13 at 00:33 -0800, Bob Stayton wrote:
> > > I think the most easier way is to use
> > > <xsl:template match="simplesect[@role = 'NotInToc']" mode="toc">
> > > , but it did not work, so why?
> >
> > Hi,
> > Actually, that method did work for me when I made the above template
empty
> > and added a role="NotInToc" to the simplesect element.  I don't know why
it
> > didn't work for you.
> >
> I can't figure out what was wrong either. It seems there are some
> "role", but they are undocumented. I can't see them in
> docbook/stylesheet/. How can I find them?
>
>
> Regards,
> Cai Qian
>
>
>
>



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