-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 SoftwareReceived on Monday, 18 May 2009 07:32:39 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 18 May 2009 07:32:40 GMT