Print

Print


HI there,

Wendell Piez wrote:
> Dear Martin,
> 
> At 02:30 PM 5/9/2006, you wrote:
>> The ONLY difference between using XHTML and using XML in a browser is 
>> that XHTML gives you access to a default browser stylesheet, which 
>> saves you from having to exhaustively define <p>s as display: block, 
>> <span>s as display: inline, and so on.
> 
> Plus linking. Unless CSS can declare links and browsers recognize them. 
> (Can it do that?)

Yes: <http://www.w3.org/TR/css3-hyperlinks/

Also images, using stuff like this:

h1 { content: url(image.gif); }

You can also scale and crop them using CSS:

<http://www.w3.org/TR/css3-content/>

But this is in CSS3. We may be dead before browsers support it, of course.

Cheers,
Martin

>>  Where <p> gets in the way, there's no reason to use it, IMHO. We're 
>> not far off being able to use pure XML+CSS bound to JavaScript events 
>> directly in the browser; that'll eliminate the need to transform into 
>> XHTML at all.
> 
> We discussed this all before in Feb 2005 under the thread "A new type of 
> TEI-Lite?"....
> 
> FWIW, I'm +1 on your suggestion. I've even made it myself. :-)
> 
> Cheers,
> Wendell
> 
> 
> ======================================================================
> Wendell Piez                            mailto:[log in to unmask]
> Mulberry Technologies, Inc.                http://www.mulberrytech.com
> 17 West Jefferson Street                    Direct Phone: 301/315-9635
> Suite 207                                          Phone: 301/315-9631
> Rockville, MD  20850                                 Fax: 301/315-8285
> ----------------------------------------------------------------------
>   Mulberry Technologies: A Consultancy Specializing in SGML and XML
> ======================================================================
> 

-- 
Martin Holmes
University of Victoria Humanities Computing and Media Centre
([log in to unmask])
Half-Baked Software, Inc.
([log in to unmask])
[log in to unmask]