On Peter's point about parsing and serializing RDF: the discussion on metadata at the TC is still up in the air, but it's occurred to me that if we use a constrained RDF/XML, and consistently identify things with URI's, then it should be easy to map back-and-forth to objects even with just standard XML tools.

E.g., if I have:

<biblio:Book rdf:about="x">
  <dc:title>Some title</dc:title>
</biblio:Book>

... just create a Reference object. If I then see:

<biblio:author rdf:resource="y"/>

... as a property of that book, and then we have:

<foaf:Person rdf:about="y">
  <foaf:givenname>Jane</foaf:givenname>
  <foaf:surname>Doe</foaf:surname>
</foaf:Person>

... then just create a person object, and link the reference object to it.

Right?

And serializing back to RDF/XML is trivial; just dump the lists of references, agents, etc. straight to RDF/XML.

Bruce

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to