PageRenderTime 40ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 2ms app.codeStats 0ms

/bundles/plugins-trunk/XML/test_data/abstract_substitution/abstract_element.xsd

#
XML Schema | 27 lines | 22 code | 5 blank | 0 comment | 0 complexity | 5bf71eb26bed75b17b3b5a8dbf7834e4 MD5 | raw file
 1
 2<schema targetNamespace="http://www.example.com/Report" 
 3	xmlns="http://www.w3.org/2001/XMLSchema" 
 4	xmlns:r="http://www.example.com/Report"
 5	xmlns:xipo="http://www.example.com/IPO"
 6	elementFormDefault="qualified">
 7
 8	<import namespace="http://www.example.com/IPO"/>
 9
10	<annotation>
11		<documentation xml:lang="en">
12      import comment from source.xsd
13    </documentation>
14	</annotation>
15
16	<element name="purchaseReport">
17		<complexType>
18			<choice minOccurs="0" maxOccurs="unbounded">
19				<element ref="xipo:comment"/>
20				<!-- this one is in the Report namespace, to see how completion
21				     handles elements in undeclared namespace vs declared namespace -->
22				<element name="reportTitle" type="string"/>
23			</choice>
24		</complexType>
25	</element>
26
27</schema>