karola1
.textElement { font-family: Arial; font-size: 10pt; color: #800000; }
.textAttr { font-family: Arial; font-size: 10pt; color: #FF0000; }
.textContents { font-family: Arial; font-size: 10pt; color: #000000; }
.textOperator { font-family: Arial; font-size: 10pt; color: #0000FF; }
.schemaHeader { font-family: Arial; font-size: 11pt; color: #000000; }
.schemaHeader2 { font-family: Arial; font-size: 11pt; font-weight: bold; color: #000000; }
.elementHeader { font-family: Arial; font-size: 10pt; color: #000000; }
.elementHeader2 { font-family: Arial; font-size: 10pt; font-weight: bold; color: #000000; }
.schemaName { font-family: Arial; font-size: 8pt; font-weight: bold; color: #000000; }
.schemaSubTitle { font-family: Arial; font-size: 8pt; color: #808080; }
.schemaSubData { font-family: Arial; font-size: 8pt; color: #000000; }
pre { margin-top: 0; margin-bottom: 0; }
.table-no-border { line-height: 100%; }
.table-border { line-height: 100%; border-style: solid; border-left-color: #ECE9D8; border-top-color: #ECE9D8; border-right-color: #ACA899; border-bottom-color: #ACA899; }
.td-border { border-style: solid; border-width: 1px; border-left-color: #ACA899; border-top-color: #ACA899; border-right-color: #ECE9D8; border-bottom-color: #ECE9D8; }
Schema
AddressLast.xml
schema location:
C:\Documents and Settings\db2admin\Pulpit\Karola\AddressLast.xml
attribute form default:
unqualified
element form default:
qualified
targetNamespace:
http://my-company.com/namespace
Elements
Complex types
Simple types
Company
AddressType
US-State
Person
UK-Address
US-Address
element
Company
diagram
namespace
http://my-company.com/namespace
properties
content complex
children
Address Person
annotation
documentationopis company :P
source
<xs:element name="Company">
<xs:annotation>
<xs:documentation>opis company :P</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Address" type="AddressType"/>
<xs:element ref="Person" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
element
Company/Address
diagram
namespace
http://my-company.com/namespace
type
AddressType
properties
isRef 0content complex
children
Name Street City
source
<xs:element name="Address" type="AddressType"/>
element
Person
diagram
namespace
http://my-company.com/namespace
properties
content complex
children
First Last Title PhoneExt Email
used by
element Company
attributes
Name Type Use Default Fixed annotationManagerxs:booleanrequired Programmerxs:booleanoptional Degreederived by: xs:string
source
<xs:element name="Person">
<xs:complexType>
<xs:sequence>
<xs:element name="First" type="xs:string"/>
<xs:element name="Last" type="xs:string"/>
<xs:element name="Title" type="xs:string" minOccurs="0"/>
<xs:element name="PhoneExt">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Email" type="xs:string"/>
</xs:sequence>
<xs:attribute name="Manager" type="xs:boolean" use="required"/>
<xs:attribute name="Programmer" type="xs:boolean" use="optional"/>
<xs:attribute name="Degree">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PhD"/>
<xs:enumeration value="BA"/>
<xs:enumeration value="Ma"/>
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
attribute
Person/@Manager
type
xs:boolean
properties
isRef 0use required
source
<xs:attribute name="Manager" type="xs:boolean" use="required"/>
attribute
Person/@Programmer
type
xs:boolean
properties
isRef 0use optional
source
<xs:attribute name="Programmer" type="xs:boolean" use="optional"/>
attribute
Person/@Degree
type
restriction of xs:string
properties
isRef 0
facets
enumeration PhDenumeration BAenumeration Maenumeration
source
<xs:attribute name="Degree">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="PhD"/>
<xs:enumeration value="BA"/>
<xs:enumeration value="Ma"/>
<xs:enumeration value=""/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
element
Person/First
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="First" type="xs:string"/>
element
Person/Last
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="Last" type="xs:string"/>
element
Person/Title
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0minOcc 0maxOcc 1content simple
source
<xs:element name="Title" type="xs:string" minOccurs="0"/>
element
Person/PhoneExt
diagram
namespace
http://my-company.com/namespace
type
restriction of xs:integer
properties
isRef 0content simple
facets
minInclusive 99
source
<xs:element name="PhoneExt">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="99"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
element
Person/Email
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="Email" type="xs:string"/>
complexType
AddressType
diagram
namespace
http://my-company.com/namespace
children
Name Street City
used by
element Company/AddresscomplexTypes UK-Address US-Address
source
<xs:complexType name="AddressType">
<xs:sequence>
<xs:element name="Name" type="xs:string"/>
<xs:element name="Street" type="xs:string"/>
<xs:element name="City" type="xs:string"/>
</xs:sequence>
</xs:complexType>
element
AddressType/Name
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="Name" type="xs:string"/>
element
AddressType/Street
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="Street" type="xs:string"/>
element
AddressType/City
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="City" type="xs:string"/>
complexType
UK-Address
diagram
namespace
http://my-company.com/namespace
type
extension of AddressType
properties
base AddressType
children
Name Street City PostCode
source
<xs:complexType name="UK-Address">
<xs:complexContent>
<xs:extension base="AddressType">
<xs:sequence>
<xs:element name="PostCode" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
element
UK-Address/PostCode
diagram
namespace
http://my-company.com/namespace
type
xs:string
properties
isRef 0content simple
source
<xs:element name="PostCode" type="xs:string"/>
complexType
US-Address
diagram
namespace
http://my-company.com/namespace
type
extension of AddressType
properties
base AddressType
children
Name Street City Zip State
source
<xs:complexType name="US-Address">
<xs:complexContent>
<xs:extension base="AddressType">
<xs:sequence>
<xs:element name="Zip" type="xs:positiveInteger"/>
<xs:element name="State" type="US-State"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
element
US-Address/Zip
diagram
namespace
http://my-company.com/namespace
type
xs:positiveInteger
properties
isRef 0content simple
source
<xs:element name="Zip" type="xs:positiveInteger"/>
element
US-Address/State
diagram
namespace
http://my-company.com/namespace
type
US-State
properties
isRef 0content simple
source
<xs:element name="State" type="US-State"/>
simpleType
US-State
namespace
http://my-company.com/namespace
type
xs:string
used by
element US-Address/State
source
<xs:simpleType name="US-State">
<xs:restriction base="xs:string"/>
</xs:simpleType>
XML Schema documentation generated by
XMLSpy
Schema Editor
http://www.altova.com/xmlspy
Wyszukiwarka