Unlike IR, we have to worry about query with XML in database.
XQuery is a standard query language for use with XML and more
information is available from W3C.
DTD can be used to enforce schema.
XQuery is "similar" to SQL and does many/all of the things SQL can if not more.
XML schema only provides us with loose meaning. The schema's meaning
has to be decided upon.
-Thomas Hayden