Annotation of embedaddon/libxml2/test/schemas/import2_0.imp, revision 1.1.1.1
1.1 misho 1: <?xml version="1.0" encoding="UTF-8"?>
2: <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3: targetNamespace="http://FOO"
4: xmlns:foo="http://FOO"
5: xmlns:bar="http://BAR"
6: elementFormDefault="qualified">
7:
8: <!-- We need to import the namespace for the schema to be valid. -->
9: <xsd:import namespace="http://BAR"/>
10:
11: <xsd:element name="foo">
12: <xsd:complexType>
13: <xsd:sequence>
14: <xsd:element name="foo.B" type="bar:fooType"/>
15: <xsd:element ref="bar:bar"/>
16: </xsd:sequence>
17: <xsd:attribute name="foo.attr"/>
18:
19: </xsd:complexType>
20: </xsd:element>
21:
22:
23:
24: </xsd:schema>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>