[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
[email protected]


----- Original Message ----- From: "Dermot O'H" <[email protected]>
To: <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to