W3C - World Wide Web Consortium
Previous Table of Contents Table of Contents Next

XML or RDF?
It Depends…


  • XML’s model is
    • a tree, i.e., a strong hierarchy
    • applications may rely on hierarchy position (e.g., li in HTML)
    • relatively simple syntax and structure
    • not easy to combine trees
  • RDF’s model is
    • a loose collections of relations
    • applications may do “database”-like search
    • not easy to recover hierarchy
    • easy to combine relations in one big collection
      • great for the integration of heterogeneous information

Ivan Herman, W3C 20 (56)