RDF Root Element

RDF documents are also XML documents, so they start with the <?xml?> declaration. These documents also must have a specific root element, <RDF> , which encloses the rest of the document. Because the namespace that you use with RDF is usually given the prefix rdf, you often specify the <RDF> element as <rdf:RDF> like this:

 <?xml version="1.0" ?>  <rdf:RDF         .         .         . </rdf:RDF> 

Also note that RDF documents must use the RDF namespace.



Real World XML
Real World XML (2nd Edition)
ISBN: 0735712867
EAN: 2147483647
Year: 2005
Pages: 440
Authors: Steve Holzner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net