VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/import2_0.imp@ 101978

Last change on this file since 101978 was 95312, checked in by vboxsync, 3 years ago

libs/{curl,libxml2}: OSE export fixes, bugref:8515

File size: 599 bytes
Line 
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>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette