/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
- <schema targetNamespace="http://www.example.com/Report"
- xmlns="http://www.w3.org/2001/XMLSchema"
- xmlns:r="http://www.example.com/Report"
- xmlns:xipo="http://www.example.com/IPO"
- elementFormDefault="qualified">
- <import namespace="http://www.example.com/IPO"/>
- <annotation>
- <documentation xml:lang="en">
- import comment from source.xsd
- </documentation>
- </annotation>
- <element name="purchaseReport">
- <complexType>
- <choice minOccurs="0" maxOccurs="unbounded">
- <element ref="xipo:comment"/>
- <!-- this one is in the Report namespace, to see how completion
- handles elements in undeclared namespace vs declared namespace -->
- <element name="reportTitle" type="string"/>
- </choice>
- </complexType>
- </element>
- </schema>