← Prev in month ← Prev in thread
Next in thread → Next in month →

Re: [docbook] Adding an ID attribute to HTML sect1 output

From
Bob Stayton <>
Date
2009-10-07T15:54:05+00:00
ID
000f01ca4766$60b3e8c0$0a00a8c0@pazu
Thread
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



----- Original Message ----- 
From: "Dermot O'H" <>
To: <>
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: 
> For additional commands, e-mail: 
>
>
>
← Prev in month ← Prev in thread
Next in thread → Next in month →