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] Adding an ID attribute to HTML sect1 output


[moving this over to the docbook-apps mailing list where stylesheet issues 
are discussed.]

Hi,
What version of the stylesheets are you using?  Chunked section id output 
started in version 1.73.1 of the stylesheets.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Dermot O'H" <dermot.ohalloran@gmail.com>
To: <docbook@lists.oasis-open.org>
Sent: Wednesday, October 07, 2009 5:16 AM
Subject: [docbook] Adding an ID attribute to HTML sect1 output


>
> Hi all,
>
> I'm using the generate.id.attributes stylesheet parameter to include ID
> attributes in my output HTML. So, a DocBook chapter element becomes <div
> id="chapter_iD_xyz" class="chapter" lang="en"> in the resulting HTML. The
> problem is that this feature only works for chapter, part and other
> top-level elements. I'm chunking my HTML at sect1 level and want sect1 IDs
> to appear in the HTML output (for the purposes of a commenting 
> application).
> Currently my sect1 appear as <div class="sect1" lang="en"> in the HTML 
> with
> no ID.
>
> Is there a way to customize the sect1 template to force it to add IDs to 
> the
> HTML output so that they appear as: <div id="sect1_iD_xyz" class="sect1"
> lang="en"> in chunked HTML output?
>
> Rgds, Dermot
> -- 
> View this message in context: 
> http://www.nabble.com/Adding-an-ID-attribute-to-HTML-sect1-output-tp25783938p25783938.html
> Sent from the docbook General mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-help@lists.oasis-open.org
>
>
> 



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