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: xsl:sytlesheet: use of native html tokens for e.g. emphasis


Hi,

I noticed when generating html output that some tokens generated by
the xsl sheet already have a defined element in html 4.0 and xhtml 1.0.

e.g. <em> for <div clas="emphasis">

http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#h-9.2.1
lists the elements
 EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, ABBR, and ACRONYM

and
http://www.w3.org/TR/1998/REC-html40-19980424/struct/text.html#h-9.2.2
 BLOCKQUOTE and Q

The W3C recommends those for using textual representation. 

To users i think it does not make much difference. (The Browser's I 
have tested do support those tags, if they support css). But I may 
have a difference to search engine's and text processor's as those 
<q> is more conqurete than <div class="quote">. Or <em> for 
<div class="emphasis">.

So why was the <div class="element"> chosen over <element> ?

P.S.: Is there a script in the xsl distribution that displays all 
      used css elements in the outputted html document ?

Ciao

Jens Skripczynski
-- 
E-Mail: skripi-lists(at)myrealbox(dot)com

Naturwissenschaftler haben endlich die Frage geklärt, warum Pinguine nicht
fliegen können. Die Antwort ist denkbar einfach: "Was nicht fliegt, kann
auch nicht abstürzen!"



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