VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/restriction-attr1_0.xsd@ 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: 725 bytes
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://FOO" targetNamespace="http://FOO">
3
4 <xs:element name="foo">
5 <xs:complexType>
6 <xs:complexContent>
7 <xs:restriction base="typeA">
8 <xs:attribute name="barA" type="xs:string" use="optional"/>
9 </xs:restriction>
10 </xs:complexContent>
11 </xs:complexType>
12 </xs:element>
13
14 <xs:complexType name="typeA">
15 <xs:attribute name="barA" type="xs:string" use="required"/>
16 </xs:complexType>
17
18</xs: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