120 likes | 223 Vues
Explore the is-a and has-a relationships between Schema, TypeDef, Attribute, Element, and ComplexType in XML Schema definitions to visualize their structure and connections.
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