1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
2 | <!--
|
---|
3 | * :tabSize=2:indentSize=2:noTabs=true:
|
---|
4 | * :folding=explicit:collapseFolds=1:
|
---|
5 | *
|
---|
6 | * InnoTek VirtualBox Settings Schema Version 1.0-windows
|
---|
7 |
|
---|
8 | * Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
9 | *
|
---|
10 | * This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
11 | * available from http://www.virtualbox.org. This file is free software;
|
---|
12 | * you can redistribute it and/or modify it under the terms of the GNU
|
---|
13 | * General Public License as published by the Free Software Foundation,
|
---|
14 | * in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
15 | * distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
16 | * be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
17 | *
|
---|
18 | * If you received this file as part of a commercial VirtualBox
|
---|
19 | * distribution, then only the terms of your commercial VirtualBox
|
---|
20 | * license agreement apply instead of the previous paragraph.
|
---|
21 | -->
|
---|
22 |
|
---|
23 | <xsd:schema
|
---|
24 | xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
---|
25 | xmlns="http://www.innotek.de/VirtualBox-settings"
|
---|
26 | xmlns:vb="http://www.innotek.de/VirtualBox-settings"
|
---|
27 | targetNamespace="http://www.innotek.de/VirtualBox-settings"
|
---|
28 | elementFormDefault="qualified"
|
---|
29 | >
|
---|
30 |
|
---|
31 | <xsd:annotation>
|
---|
32 | <xsd:documentation xml:lang="en">
|
---|
33 | InnoTek VirtualBox Settings Schema Version 1.0-windows.
|
---|
34 | Copyright (c) 2004-2005 InnoTek Systemberatung GmbH.
|
---|
35 | </xsd:documentation>
|
---|
36 | </xsd:annotation>
|
---|
37 |
|
---|
38 | <xsd:include schemaLocation="VirtualBox-settings-common.xsd"/>
|
---|
39 |
|
---|
40 | <!--
|
---|
41 | // Simple types
|
---|
42 | /////////////////////////////////////////////////////////////////////////
|
---|
43 | -->
|
---|
44 |
|
---|
45 | <!--
|
---|
46 | // Complex types
|
---|
47 | /////////////////////////////////////////////////////////////////////////
|
---|
48 | -->
|
---|
49 |
|
---|
50 | <xsd:complexType name="TMemory">
|
---|
51 | <xsd:attribute name="RAMSize" use="required">
|
---|
52 | <xsd:simpleType>
|
---|
53 | <xsd:restriction base="xsd:unsignedInt">
|
---|
54 | <xsd:minInclusive value="4"/>
|
---|
55 | <xsd:maxInclusive value="1200"/> <!-- actually I was able to use 1230MB on WinXP Home -->
|
---|
56 | </xsd:restriction>
|
---|
57 | </xsd:simpleType>
|
---|
58 | </xsd:attribute>
|
---|
59 | </xsd:complexType>
|
---|
60 |
|
---|
61 | <xsd:complexType name="TNetwork">
|
---|
62 | <xsd:sequence>
|
---|
63 | <xsd:element name="Adapter" minOccurs="0" maxOccurs="unbounded">
|
---|
64 | <xsd:complexType>
|
---|
65 | <xsd:complexContent>
|
---|
66 | <xsd:extension base="TAdapter">
|
---|
67 | <xsd:choice minOccurs="0">
|
---|
68 | <xsd:element name="NAT">
|
---|
69 | <xsd:complexType/>
|
---|
70 | </xsd:element>
|
---|
71 | <xsd:element name="HostInterface">
|
---|
72 | <xsd:complexType>
|
---|
73 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
74 | </xsd:complexType>
|
---|
75 | </xsd:element>
|
---|
76 | <xsd:element name="InternalNetwork">
|
---|
77 | <xsd:complexType>
|
---|
78 | <xsd:attribute name="name" type="xsd:string" use="required"/>
|
---|
79 | </xsd:complexType>
|
---|
80 | </xsd:element>
|
---|
81 | </xsd:choice>
|
---|
82 | </xsd:extension>
|
---|
83 | </xsd:complexContent>
|
---|
84 | </xsd:complexType>
|
---|
85 | </xsd:element>
|
---|
86 | </xsd:sequence>
|
---|
87 | </xsd:complexType>
|
---|
88 |
|
---|
89 | <xsd:complexType name="TAudioAdapter">
|
---|
90 | <xsd:attribute name="enabled" type="xsd:boolean"/>
|
---|
91 | <xsd:attribute name="driver" use="required">
|
---|
92 | <!--- @todo (dmik) capitalize enum values on next format change! -->
|
---|
93 | <xsd:simpleType>
|
---|
94 | <xsd:restriction base="xsd:token">
|
---|
95 | <xsd:enumeration value="null"/>
|
---|
96 | <xsd:enumeration value="winmm"/>
|
---|
97 | <xsd:enumeration value="dsound"/>
|
---|
98 | </xsd:restriction>
|
---|
99 | </xsd:simpleType>
|
---|
100 | </xsd:attribute>
|
---|
101 | </xsd:complexType>
|
---|
102 |
|
---|
103 | <!--
|
---|
104 | // Root element
|
---|
105 | /////////////////////////////////////////////////////////////////////////
|
---|
106 | -->
|
---|
107 |
|
---|
108 | <xsd:element name="VirtualBox">
|
---|
109 | <xsd:complexType>
|
---|
110 | <xsd:complexContent>
|
---|
111 | <xsd:extension base="TVirtualBox">
|
---|
112 | <xsd:attribute name="version" type="xsd:token" fixed="1.2-windows" use="required"/>
|
---|
113 | </xsd:extension>
|
---|
114 | </xsd:complexContent>
|
---|
115 | </xsd:complexType>
|
---|
116 | </xsd:element>
|
---|
117 |
|
---|
118 | </xsd:schema>
|
---|