Moving to XML
|
Identifying the data to store
- The attributes of an element are a namespace
- So are the fields of a table
-
If you have one table for every element type
- and one field in that table for every attribute that
element can have
- It's relatively easy
-
The real world isn't often like that
- the overall structure of XML and relational databases
are quite different
- most serious databases have been around a long time,
we can't just design them to fit our DTD
- most DTDs are agreed between large numbers of
organisations, we can't just design them to fit our
database
- but it may be coerced with a little help from
XSL...