"I have a mind like a steel... uh... thingy." Patrick Logan's weblog.

Search This Blog

Friday, May 21, 2004

XML and Data Models

Sean McGrath writes...

Quote from Date defends relational model: "XML is not a real data model." Discuss :-)
The way I see it "XML" is a data format. So then what is a data model?

  • "hierarchy" is a data model
  • "binary tree" is a data model
  • "[un]directed graph" is a data model
  • "star schema" is a data model
  • "table" is a data model
  • "ordered sequence" is a data model
Each of these can be represented in XML files, in a "native" XML database, in a relational database, and in many other formats. How suitable each format is depends on the data and how you intend to use it.

No comments:

Blog Archive

About Me

Portland, Oregon, United States
I'm usually writing from my favorite location on the planet, the pacific northwest of the u.s. I write for myself only and unless otherwise specified my posts here should not be taken as representing an official position of my employer. Contact me at my gee mail account, username patrickdlogan.