/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
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
- <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>