- From: Ian Hickson <ian@hixie.ch>
- Date: Wed, 14 Feb 2007 20:31:28 +0000 (UTC)
- To: Elliotte Harold <elharo@metalab.unc.edu>
- Cc: www-style@w3.org
On Wed, 14 Feb 2007, Elliotte Harold wrote:
>
> I think the following example in section 3.3 of BeCSS is unclear:
>
> Assuming the above file was called triangles.xml, these bindings could be
> bound to elements using CSS like so:
>
> @namespace triangles url(http://triangles.example.com/);
> triangles|isoceles { binding: url(triangles.xml#isoceles); }
> triangles|rightangle { binding: url(triangles.xml#rightangle); }
>
>
> In particular I think some people are going to read this as meaning the
> namespace URL is somehow used to locate the file containing the binding
> definition. It's not clear to me why a namespace is used here, but if you're
> going to use one at all something like this might be clearer:
>
> @namespace t url(http://namespaces.example.com/);
> t|isoceles { binding: url(triangles.xml#isoceles); }
> t|rightangle { binding: url(triangles.xml#rightangle); }
Well I left "triangles" in the name of the namespace, since it is a
triangles-only namespace, but I changed it a bit to see if that helps. Let
me know if it is still confusing.
Cheers,
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 14 February 2007 20:31:45 UTC