diff options
author | Rob Mensching <rob@firegiant.com> | 2025-02-14 12:53:59 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2025-03-18 15:55:06 -0700 |
commit | 777b28beb32b2013e9feb77a9a18af397265f4ba (patch) | |
tree | a4700ebafdb4ad80be301a6814a490e7b189b202 /src/xsd/ui.xsd | |
parent | 1f48dfeb5bc15bb9d3e90ac6b236dbff77819561 (diff) | |
download | wix-777b28beb32b2013e9feb77a9a18af397265f4ba.tar.gz wix-777b28beb32b2013e9feb77a9a18af397265f4ba.tar.bz2 wix-777b28beb32b2013e9feb77a9a18af397265f4ba.zip |
Migrate XSDs from web project
This is the new home for the XSDs. Closer to the code to hopefully be kept
better up to date as changes happen to the language.
Diffstat (limited to 'src/xsd/ui.xsd')
-rw-r--r-- | src/xsd/ui.xsd | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/src/xsd/ui.xsd b/src/xsd/ui.xsd new file mode 100644 index 00000000..bfb9c39f --- /dev/null +++ b/src/xsd/ui.xsd | |||
@@ -0,0 +1,69 @@ | |||
1 | <?xml version="1.0" encoding="utf-8"?> | ||
2 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> | ||
3 | |||
4 | |||
5 | <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
6 | xmlns:xse="http://wixtoolset.org/schemas/XmlSchemaExtension" | ||
7 | xmlns:html="http://www.w3.org/1999/xhtml" | ||
8 | xmlns:wxs="http://wixtoolset.org/schemas/v4/wxs" | ||
9 | targetNamespace="http://wixtoolset.org/schemas/v4/wxs/ui" | ||
10 | xmlns="http://wixtoolset.org/schemas/v4/wxs/ui"> | ||
11 | <xs:annotation> | ||
12 | <xs:documentation> | ||
13 | The source code schema for the WiX Toolset UI Extension. | ||
14 | </xs:documentation> | ||
15 | </xs:annotation> | ||
16 | |||
17 | <xs:import namespace="http://wixtoolset.org/schemas/v4/wxs" /> | ||
18 | |||
19 | <xs:element name="WixUI"> | ||
20 | <xs:annotation> | ||
21 | <xs:appinfo> | ||
22 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Fragment" /> | ||
23 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Module" /> | ||
24 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="Package" /> | ||
25 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="PatchFamily" /> | ||
26 | <xse:parent namespace="http://wixtoolset.org/schemas/v4/wxs" ref="UI" /> | ||
27 | </xs:appinfo> | ||
28 | <xs:documentation> | ||
29 | References a WixUI dialog set, either one that's included in WixToolset.UI.wixext or a | ||
30 | custom dialog set included in your authoring. | ||
31 | </xs:documentation> | ||
32 | </xs:annotation> | ||
33 | <xs:complexType> | ||
34 | <xs:choice minOccurs="0" maxOccurs="unbounded"> | ||
35 | <xs:any namespace="##other" processContents="lax"> | ||
36 | <xs:annotation> | ||
37 | <xs:documentation> | ||
38 | Extensibility point in the WiX XML Schema. Schema extensions can register additional | ||
39 | elements at this point in the schema. | ||
40 | </xs:documentation> | ||
41 | </xs:annotation> | ||
42 | </xs:any> | ||
43 | </xs:choice> | ||
44 | <xs:attribute name="Id" type="xs:string" use="required"> | ||
45 | <xs:annotation> | ||
46 | <xs:documentation> | ||
47 | Identifier for the dialog set to reference. | ||
48 | </xs:documentation> | ||
49 | </xs:annotation> | ||
50 | </xs:attribute> | ||
51 | <xs:attribute name="InstallDirectory" type="xs:string"> | ||
52 | <xs:annotation> | ||
53 | <xs:documentation> | ||
54 | An optional identifier that specifies the directory to set WIXUI_INSTALLDIR to, | ||
55 | for WixUI dialog sets that require it. | ||
56 | </xs:documentation> | ||
57 | </xs:annotation> | ||
58 | </xs:attribute> | ||
59 | <xs:anyAttribute namespace="##other" processContents="lax"> | ||
60 | <xs:annotation> | ||
61 | <xs:documentation> | ||
62 | Extensibility point in the WiX XML Schema. Schema extensions can register additional | ||
63 | attributes at this point in the schema. | ||
64 | </xs:documentation> | ||
65 | </xs:annotation> | ||
66 | </xs:anyAttribute> | ||
67 | </xs:complexType> | ||
68 | </xs:element> | ||
69 | </xs:schema> | ||