RDF/XML syntax question - parseType="Collection" plus nodeID

Little question about using two features of RDF/XML in conjunction.  
Say I have the following RDF/XML:

     <rdf:List rdf:nodeID="theList">
       <rdf:_1><rdf:Description rdf:about="#i1" /></rdf:_1>
       <rdf:_2><rdf:Description rdf:about="#i2" /></rdf:_2>
       <rdf:_3><rdf:Description rdf:about="#i3" /></rdf:_3>

Now, this can be simplified, removing the rdf:List and rdf:_n stuff,  
using parseType="Collection":

   <ex:foo rdf:parseType="Collection">
     <rdf:Description rdf:about="#i1" />
     <rdf:Description rdf:about="#i2" />
     <rdf:Description rdf:about="#i3" />

But note now that the nodeID for the list no longer has an element  
upon which to be hung. If I want to refer to the same list again, I  
can't reference it as a named node. Is there a way around it? Can I  
use, for instance, rdf:nodeID on the <ex:foo/> element?

Toby A Inkster

Received on Friday, 21 November 2008 16:15:24 UTC