RDF Containment for xul:tree

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

RDF Containment for xul:tree

"neil.stansbury () redbacksystems ! com"
Hi all,

I'm sure I remember either Neil or Axel saying that RDF for generating tree containment had to use rdf:Seq/Bag/Alt, is this correct?  I really
want to create a hierarchy from the following RDF without adding any additional containment assertions:

<rdf:Description rdf:about="urn:level_1" dc:title="Level 1"/>
<rdf:Description rdf:about="urn:level2" dc:title="Level 2">
   <dc:related rdf:resource="urn:level_1"/>

<rdf:Description rdf:about="urn:level3" dc:title="Level 3">
   <dc:related rdf:resource="urn:level_2"/>

Where the dc:related assertion indicates the parent it is a child of.

Any thoughts if this is even remotely possible?


dev-tech-rdf mailing list
[hidden email]