Re: Standard way to qualify occurrences of resources as objects?

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