- From: Simon Pieters <simonp@opera.com>
- Date: Mon, 18 May 2009 09:31:10 +0200
- To: "Tab Atkins Jr." <jackalmage@gmail.com>, "Toby A Inkster" <mail@tobyinkster.co.uk>
- Cc: "www-archive@w3.org" <www-archive@w3.org>
-whatwg
+www-archive
On Sat, 16 May 2009 17:50:37 +0200, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> Actually, I believe it would generate:
> <rdf:Description rdf:about="http://example.net/">
> <ex:property1>Quux</ex:property1>
> <ex:property2>http://example.org/"</ex:property2>
> </rdf:Description>
>
> In other words, it completely ignores the resource part of RDF. This
> is easy to fix, though. Frex, change the example CRDF to:
>
> <script type="text/crdf">
> @namespace ex "http://example.com/"
> a.foo {
> ex|property1: attr(title);
> ex|property2: attr(href) resource;
> }
> </script>
I think the CSS attr() syntax is:
attr(href, url);
http://www.w3.org/TR/css3-values/#attribute
> And it could then generate the first triple you posted.
>
> ~TJ
--
Simon Pieters
Opera Software
Received on Monday, 18 May 2009 07:32:39 UTC