- From: Aaron Swartz <aswartz@upclink.com>
- Date: Sun, 23 Sep 2001 12:44:44 -0500
- To: Patrick.Stickler@nokia.com
- Cc: www-rdf-interest@w3.org, Art Barstow <barstow@w3.org>
On Friday, September 21, 2001, at 01:38 AM,
Patrick.Stickler@nokia.com wrote:
> I thought that I could do something like the following
>
> <x:foo>
> <rdf:Description>
> <rdf:resource rdf:resource="urn:abc:xyz"/>
> <x:bar>jkl</x:bar>
> </rdf:Description>
> </x:foo>
>
> but as pointed out by Art Barstow, rdf:resource can only be
> an attribute, not an element.
The correct way to do this is:
<x:foo>
<rdf:Description>
<rdf:value rdf:resource="urn:abc:xyz"/>
<x:bar>jkl</x:bar>
</rdf:Description>
</x:foo>
(replace rdf:resource with rdf:value)
Hope this helps,
--
"Aaron Swartz" | ...schoolyard subversion...
<mailto:me@aaronsw.com> | <http://aaronsw.com/school/>
<http://www.aaronsw.com/> | because school makes kids dumb
Received on Sunday, 23 September 2001 13:44:48 UTC