VirtualBox

source: vbox/trunk/src/libs/libxml2-2.9.14/test/schemas/decimal-1.xsd@ 102035

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

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

File size: 721 bytes
Line 
1<?xml version="1.0"?>
2<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3
4 <xsd:simpleType name="myDecimal">
5 <xsd:restriction base="xsd:decimal">
6 <xsd:totalDigits value="18"/>
7 </xsd:restriction>
8 </xsd:simpleType>
9
10 <xsd:element name="foo">
11 <xsd:complexType>
12 <xsd:sequence>
13 <xsd:element name="val" type="myDecimal" maxOccurs="unbounded"/>
14 <xsd:element name="ref" type="myDecimal" minOccurs="0"/>
15 </xsd:sequence>
16 </xsd:complexType>
17
18 <!--xsd:key name="myKey">
19 <xsd:selector xpath="val"/>
20 <xsd:field xpath="."/>
21 </xsd:key>
22
23 <xsd:keyref name="myKeyRef" refer="myKey">
24 <xsd:selector xpath="ref"/>
25 <xsd:field xpath="."/>
26 </xsd:keyref-->
27 </xsd:element>
28
29</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