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

Thanks Aaron. That's the ticket.

Cheers,

Patrick


> -----Original Message-----
> From: ext Aaron Swartz [mailto:aswartz@upclink.com]
> Sent: 23 September, 2001 20:45
> To: Stickler Patrick (NRC/Tampere)
> Cc: www-rdf-interest@w3.org; Art Barstow
> Subject: 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 Monday, 24 September 2001 02:01:00 UTC