This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: list items HTML formating with XSL


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ jaccoud@petrobras.com.br was heard to say:
| Actually, what the guidelines say is that you should use both the old
| 'name' and the new 'id' attributes, so we should write
|       <li><a id="someid" name="someid"></a><p>...</p></li>

But that's got the linebreak problem.

| But the stylesheets generate only the id attribute, so it doesn't matter if

The stylesheets generate <a name="">, not id="", or at least they do for me :-)

| But you caught my flea: the HTML stylesheets generate only the name
| attribute. XHTML stylesheets only the id attribute. The name attribute
| cannot be put in the li element, and since the XHTML stylesheets are based
| on the HTML ones, I can now see why they always generate a separate anchor
| element.

Yep. I'm *not* going to maintain separate stylesheets. The XHTML
stylesheets have to be generated from the HTML stylesheets.

| I think it will not be possible to keep the HTML and XHTML stylesheets
| unified for much long. Soon the former will have to go away, or we will not
| be able to add more functionality (for example, intertwined MathML and
| SVG).

Yes, I suppose we'll have to move on eventually. But not before
there's broader support for modern languages.

                                        Be seeing you,
                                          norm

- -- 
Norman Walsh <ndw@nwalsh.com>      | Of all lies, art is the least
http://www.oasis-open.org/docbook/ | untrue.--Flaubert
Chair, DocBook Technical Committee |
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.7 <http://mailcrypt.sourceforge.net/>

iD8DBQE+HgCUOyltUcwYWjsRAujXAKCT9EvWFXPkYesFRVmjoEZApYgQIQCeLpp2
SlyP+fyDLn2lpQFq5Bmbpbg=
=j7dK
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]