This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] How to label a table when transforming to HTML?
- From: Erik Leunissen <e dot leunissen at hccnet dot nl>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 18 Feb 2004 16:07:26 +0100
- Subject: [docbook-apps] How to label a table when transforming to HTML?
L.S.
My question concerns the unique labelling of table elements when
transforming docbook XML to HTML.
What I want to accomplish is to let a HTML stylesheet pick one specific
table in a document, to assign it another width than the default width
used for tables.
What I've done thus far is (and maybe my approach is entirely wrong)
explore the possibilities of docbook to set the "role" or "id"
attributes for a table to a unique value, hoping that:
1. such an attribute is somehow retained in the HTML document after
having it transformed to HTML (using xsltproc and the standard
docbook-xsl file).
2. HTML stylesheets can select the table element based on that attribute.
I did not succeed.
If it is possible at all, I'd very much appreciate some directions,
pointers on how to do that. Please say so if I need to take another
approach.
Thanks in advance,
Erik Leunissen
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.