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]

[docbook-apps] 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!"


---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


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