OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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
>
>
>
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]