Dan McCreary October, 2008 Version 0.2 XQuery Data Model Dan McCreary October, 2008 Version 0.2
Overview Review the underlying data structures use in XQuery and the terminology Review the types for atomic data types
UML Notation Review Aggregation (containment) Subtypes (inheritance) Recipe Ingredient Aggregation (containment) 1..N Animal Subtypes (inheritance) Mammal Reptile
UML Diagram Notation A Sequence contains 0 to many items Sequence Item
Two Subtypes of Items Item Node Atomic value There are two sub-types of items. Nodes and atomic values.
Six Subtypes of Node There are six subtypes of nodes Attribute Comment Element Document PI Text There are six subtypes of nodes Comments and PIs are rare
Range limits for some times
Key
References http://www.w3.org/TR/xmlschema-2 http://www.w3.org/TR/xmlschema-2/#short