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: generate.id.attributes problem with bibliographies


Hi,

 

I’m using ns-1.77.1 transform to single file XHTML. I’m playing with the <xsl:param name="generate.id.attributes">, which could be handy for my CSS work. It seems to work mostly  as expected: the xml:id gets output as a div id for that chunk, typically chapters, prefaces, appendices for me.

 

However, with dedications and bibliographies, the xml:id gets output twice, once in the div tag for the chunk and again in the h1 title tag. This obviously causes validation issues with xhtml. (I’m not that concerned with dedications, but bibliographies are important.)

 

EX

Source:

<bibliography xml:id="biblio-XXXX">

 

Results in:

<div class="bibliography" id="biblio-XXXX">

<div class="titlepage">

<div>

<div>

<h1 class="title" id="biblio-XXXX">Bibliography Title</h1>

 

Is this a bug? Most chunks handle just fine. Is there a fix for this?

 

If it matters, I’m using xinclude to pull my chunks together.

 

Thanks,

 

jz

 

 

Jason Zech | Project Manager, Digital Workflow
[p] 773-281-1818 x212 | zech@loyolapress.com

LoyolaPress. | A Jesuit Ministry | 100 Years of Service
3441 N. Ashland Ave. | Chicago, IL 60657 |
www.loyolapress.com

 



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