W3C home > Mailing lists > Public > www-style@w3.org > November 2002

Re: Content vs Structure?

From: Jeremy Dunck <ralinon@hotmail.com>
Date: Tue, 19 Nov 2002 22:56:46 -0600
To: dris86@cox.net, www-style@w3.org
Message-ID: <F30nHM3SOlbpH71yEXU00000007@hotmail.com>

>From: Chris Vincent <dris86@cox.net>
>
>Okay, I have a problem that's been driving me nuts.  Let's say you
<snip>
>block inside the side bar block.  How could this fit within the paradigm of 
>separating style and content?

CSS separates presentation from structure, but it does not change the 
structure itself.  You're right that CSS alone is insuffcient for the task 
of completely altering the layouts.  That is, it has tools for that job 
(position: absolute and position: relative), but they are fairly poor.

What you may be after is XSLT.  That is a language intended to restructure 
any XML (which XHTML is, after all) document into an alternate structure 
(which may or may not be XML).

Then (assuming the result is an (X)HTML document), you would apply CSS (or 
possibly XSL:FO sometime after it becomes implemented) to the resulting 
structure.

XLST:
  http://www.w3.org/TR/xslt

XSL:FO:
  http://www.w3.org/TR/xsl/
  http://www.w3.org/Style/XSL/

HTH,
  Jeremy

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail
Received on Tuesday, 19 November 2002 23:57:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:17 GMT