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] | [Elist Home]


Subject: Re: DOCBOOK-APPS: list items HTML formating with XSL


At 15:29 2003 01 06 -0200, jaccoud@petrobras.com.br wrote:
>I've been overiding several XSL templates in order to get valid XHTML
>Strict output. ... In the process of overiding the
>corresponding templates in lists.xsl and block.xsl, I noted that most of
>the job could be avoided by simply generating the ID attribute inside the
><li> element, instead of generating a empty <a> element. Is there some
>reason you used
>      <li><a id="someid"></a><p>...</p></li>
>instead of the simpler
>      <li id="someid"><p>...</p></li>

You could do that as long as you realize that this does not 
follow the HTML browser compatibility guidelines at [1] and 
it won't work with Netscape 4.x browsers.

That is, your suggested code matches the specs, but not a lot
of the deployed tools out there.

paul

[1] http://www.w3.org/TR/xhtml1/#C_8



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


Powered by eList eXpress LLC