2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 <!ELEMENT oor:component-data ((node | prop)*)
>
20 <!ATTLIST oor:component-data
21 oor:package CDATA #REQUIRED
22 oor:name CDATA #REQUIRED
23 oor:op (modify | replace | fuse | remove) #IMPLIED
24 oor:finalized (false | true) #IMPLIED
25 xmlns:oor CDATA #FIXED
"http://openoffice.org/2001/registry"
26 xmlns:xs CDATA #FIXED
"http://www.w3.org/2001/XMLSchema"
27 xmlns:xsi CDATA #FIXED
"http://www.w3.org/2001/XMLSchema-instance"
28 xmlns:install CDATA #FIXED
"http://openoffice.org/2004/installation">
30 <!ELEMENT node ((node | prop)*)
>
32 oor:name CDATA #REQUIRED
33 oor:op (modify | replace | fuse | remove) #IMPLIED
34 oor:finalized (true | false) #IMPLIED
35 oor:mandatory (true | false) #IMPLIED
36 oor:node-type CDATA #IMPLIED
37 oor:component CDATA #IMPLIED
38 install:module CDATA #IMPLIED
>
40 <!ELEMENT prop (value*)
>
42 oor:name CDATA #REQUIRED
43 oor:op (modify | replace | fuse | remove) #IMPLIED
44 oor:finalized (true | false) #IMPLIED
46 (oor:any | xs:boolean | xs:short | xs:int | xs:long | xs:double |
47 xs:string | xs:hexBinary | oor:boolean-list | oor:short-list |
48 oor:int-list | oor:long-list | oor:double-list | oor:string-list |
51 install:module CDATA #IMPLIED
>
53 <!ELEMENT value (#PCDATA | it | unicode)*
>
54 <!-- EMPTY if oor:op="remove", xsi:nil="true", or oor:external is used
55 #PCDATA if the property type is a non-list type other than xs:string
56 (#PCDATA | unicode)* if the property type is xs:string
57 #PCDATA or it* if the property type is a list type other than
59 (#PCDATA | unicode)* or it* if the property type is
62 xml:lang CDATA #IMPLIED
63 oor:op (fuse | remove) #IMPLIED
64 xsi:nil (true | false) #IMPLIED
66 (xs:boolean | xs:short | xs:int | xs:long | xs:double | xs:string |
67 xs:hexBinary | oor:boolean-list | oor:short-list | oor:int-list |
68 oor:long-list | oor:double-list | oor:string-list | oor:hexBinary-list)
70 oor:separator CDATA #IMPLIED
71 oor:external CDATA #IMPLIED
72 install:module CDATA #IMPLIED
>
73 <!-- xml:lang must only be used for localized properties; defaults to the
75 oor:op defaults to "fuse"; "remove" must only be used for localized
77 xsi:nil defaults to "false"; "true" must only be used for nillable
79 oor:type is relevant for localized properties of type oor:any with
80 different value types for different locales
81 oor:separator must only be used if the property type is a list type
82 and the element content is #PCDATA or (#PCDATA | unicode)* (and not
84 oor:external must only be used for non-localized properties and must
85 not be used together with xsi:nil="true" -->
87 <!ELEMENT it (#PCDATA | unicode)*
>
88 <!-- #PCDATA if the property type is a list type other than
90 (#PCDATA | unicode)* if the property type is oor:string-list -->
93 <!ELEMENT unicode EMPTY
>
95 oor:scalar NMTOKEN #REQUIRED
>
96 <!-- must syntactically match xs:integer and have a value in {0, ..., 8,
97 11, 12, 14, ..., 31, 65534, 65535} -->
99 <!-- oor:items is an alternative root element to oor:component-data: -->
101 <!ELEMENT oor:items (item*)
>
104 <!ELEMENT item ((node | prop | value)*)
>
106 oor:path CDATA #REQUIRED
>
107 <!-- the absolute path representation of a localized property or a group