Re: DOCBOOK-APPS: Attribute `id' in <mediaobject>

From
Norman Walsh <>
Date
2001-05-21T16:43:08+00:00
ID
Thread
Re: DOCBOOK-APPS: Attribute `id' in <mediaobject>
/ Jean-Baptiste Quenot <> was heard to say:
| I'm using  Norm's stylesheets  for output  in HTML,  from a  DocBook XML
| document  processed by  Resin, an  XSL  aware Java  server available  at
| http://www.caucho.com/. I want to use the  `id' attribute of output HTML
| elements for customizing the styles in a CSS.

This is a real problem. Anchors require an <a> element, but you can't
have both an <a name="..."> and a <div id="...">.

Do you really want to have different CSS selectors for each mediaobject?
Isn't <div class="mediaobject"> sufficient?

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | The people who live in a Golden
http://www.oasis-open.org/docbook/ | Age usually go around complaining
Chair, DocBook Technical Committee | how yellow everything
                                   | looks.--Randall Jarrell