mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-10-27 04:55:04 +03:00
25 lines
563 B
XML
25 lines
563 B
XML
|
<?xml version="1.0"?>
|
||
|
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||
|
xmlns:foo="http://FOO"
|
||
|
targetNamespace="http://BAR"
|
||
|
elementFormDefault="qualified">
|
||
|
|
||
|
<xsd:import namespace="http://FOO" schemaLocation="import2_0.imp"/>
|
||
|
|
||
|
<xsd:simpleType name="fooType">
|
||
|
<xsd:restriction base="xsd:string">
|
||
|
<xsd:maxLength value="10"/>
|
||
|
</xsd:restriction>
|
||
|
</xsd:simpleType>
|
||
|
|
||
|
<xsd:element name="bar">
|
||
|
<xsd:complexType>
|
||
|
<xsd:sequence>
|
||
|
<xsd:element ref="foo:foo" minOccurs="0"/>
|
||
|
</xsd:sequence>
|
||
|
</xsd:complexType>
|
||
|
</xsd:element>
|
||
|
|
||
|
|
||
|
</xsd:schema>
|