Re: About XHTML 2.0

>>> Sjoerd Visscher <sjoerd@w3future.com> 5/23/2005 7:00:51 PM >>>

...

> OK, show me the XPath that selects the content between 2 separators.


This misses the point. A lightweight separator should only be used when
the information on either side of it isn't intended to be
chunked[1][2].

If the content is separable in such a way that you can section it off
without losing your place, don't use the separator (or sep) element. In
those cases, section it properly. Then, you'll be able to use
technologies like XPath.

I do agree that it's desirable to section off content for the web - in
eLearning we call them learning objects - but at the same time we can't
assume that all content could or should be represented this way[3].

The WD currently only reads, "The separator element places a break in
the document. The default style for this break is a horizontal line in
Western languages."[4]  This should be expanded to address the
situations where separator is appropriate and where it would be
preferable to use the section or div elements.

- Ed.

[1] http://lists.w3.org/Archives/Public/www-html/2005May/0020.html 
[2] http://lists.w3.org/Archives/Public/www-html/2005May/0040.html 
[3] http://lists.w3.org/Archives/Public/www-html/2005May/0064.html 
[4] http://www.w3.org/TR/xhtml2/mod-structural.html#sec_8.9.

Received on Wednesday, 25 May 2005 15:19:55 UTC