120 likes | 210 Views
Midterm Winter 2001. Traversals. Schema. is-a edge has-a edge. *. AttrValue. *. *. SchemaItem. SchemaSimple. Attribute. *. *. ElementItem. EmptyElement. Element. RestOfElement. SequenceGroup. NonEmptyElement. TypeDef. SimpleType. ComplexType. ComplexTypeContent.
E N D
Midterm Winter 2001 Traversals
Schema is-a edge has-a edge * AttrValue * * SchemaItem SchemaSimple Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Show: from Schema to TypeDef is-a edge has-a edge Schema * AttrValue * * SchemaItem SchemaSimple Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Show: from Schema to Attribute is-a edge has-a edge Schema * AttrValue * * SchemaItem SchemaSimple Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Show: from Schema to Element is-a edge has-a edge Schema * AttrValue * * SchemaItem SchemaSimple Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * Sample solution for: from Attribute to AttrValue AttrValue * * * SchemaItem Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema is-a edge has-a edge * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType from Attribute to AttrValue Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType from Attribute to AttrValue Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent
Schema * AttrValue * * * SchemaItem from Schema to TypeDef from Schema to Attribute from Schema to Element from Schema to ComplexType Attribute * * ElementItem EmptyElement Element RestOfElement SequenceGroup NonEmptyElement TypeDef SimpleType ComplexType ComplexTypeContent