[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: RDDL/RDF - no RDF tax?
Uche Ogbuji wrote: > > > > A processor would only need to know where to look in the RDDL document for > > the XML to be parsed as RDF. I've suggested an attribute on the top element: > > > > <html rddl:annotation-ns="http://www.w3.org/1999/xhtml"> > > > > which would tell a parser to ignore elements in the XHTML namespace, and > > start parsing as RDF elements in any other namespace e.g. <rddl:resource>. > > > > An *actual* RDF document would look like: > > > > <rdf:RDF> > > <rddl:resource>... > > <rddl:resource>... > > </rdf:RDF> > > Wow. You took a strange left turn on me. The "<rdf:RDF>" wrapper is optional > in the RDF M&S 1.0 grammar, so a compliant RDF parser can look at your > rddl:resource as a simple typed node that defines an object. > > So the version you posted here is indeed "real" RDF. > Fair enough. I was just considering how an RDF processor might 'find' RDF within some HTML, or assuming that there was a document with several <rddl:resource>s in it -- but in any case those are packaging details. Jonathan
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|