# XML Schema Documentation

Printer-friendly Version

XML Instance Representation:
[ Expand All | Collapse All ]

Schema Component Representation:
[ Expand All | Collapse All ]

## Table of Contents

- Schema Document Properties
- Global Declarations
  - Element: master

top

## Schema Document Properties

Target Namespace | http://www.example.com/ns1
Element and Attribute Namespaces | Global element and attribute declarations belong to this schema's target namespace. By default, local element declarations have no namespace. By default, local attribute declarations have no namespace.
Schema Composition | This schema imports schema(s) from the following namespace(s): http://www.example.com/ns2 (at schemaNS2.xsd) This schema includes components from the following schema document(s): schemaNS1-part1.xsd schemaNS1-part2.xsd

### Declared Namespaces

Prefix | Namespace
--- | ---
xml | http://www.w3.org/XML/1998/namespace
xs | http://www.w3.org/2001/XMLSchema
ns1 | http://www.example.com/ns1
ns2 | http://www.example.com/ns2

Schema Component Representation
<xs:schema targetNamespace="http://www.example.com/ns1"> <xs:include schemaLocation="schemaNS1-part1.xsd"/> <xs:include schemaLocation="schemaNS1-part2.xsd"/> <xs:import namespace="http://www.example.com/ns2" schemaLocation="schemaNS2.xsd"/> ... </xs:schema>

top

## Global Declarations

### Element: master

Name | master
Type | Locally-defined complex type
Nillable | no
Abstract | no

XML Instance Representation
<ns1:master> <ns1:part1> ... </ns1:part1> [1] <ns1:part2> ... </ns1:part2> [1] <ns2:test> ... </ns2:test> [1] </ns1:master>

Schema Component Representation
<xs:element name="master"> <xs:complexType> <xs:sequence> <xs:element ref=" ns1:part1 "/> <xs:element ref=" ns1:part2 "/> <xs:element ref=" ns2:test "/> </xs:sequence> </xs:complexType> </xs:element>

top

Generated by xs3p. Last modified: