source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/slides/schema/relaxng/product.rng@ a966c46

7.5-systemd 7.6-systemd 7.7-systemd 7.8-systemd 7.9-systemd
Last change on this file since a966c46 was b1a51ac1, checked in by Krejzi <krejzi@…>, 11 years ago

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 9.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 This file is part of DocBook V5.0
4
5 Copyright 1992-2008 HaL Computer Systems, Inc.,
6 O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software
7 Corporation, Norman Walsh, Sun Microsystems, Inc., and the
8 Organization for the Advancement of Structured Information
9 Standards (OASIS).
10
11 Release: $Id: pool.rnc 7466 2007-09-27 14:03:55Z nwalsh $
12
13 Permission to use, copy, modify and distribute the DocBook schema
14 and its accompanying documentation for any purpose and without fee
15 is hereby granted in perpetuity, provided that the above copyright
16 notice and this paragraph appear in all copies. The copyright
17 holders make no representation about the suitability of the schema
18 for any purpose. It is provided "as is" without expressed or implied
19 warranty.
20
21 If you modify the DocBook schema in any way, label your schema as a
22 variant of DocBook. See the reference documentation
23 (http://docbook.org/tdg5/en/html/ch05.html#s-notdocbook)
24 for more information.
25
26 Please direct all questions, bug reports, or suggestions for changes
27 to the docbook@lists.oasis-open.org mailing list. For more
28 information, see http://www.oasis-open.org/docbook/.
29
30 ======================================================================
31-->
32<grammar ns="http://docbook.org/ns/docbook" xmlns:db="http://docbook.org/ns/docbook" xmlns:s="http://purl.oclc.org/dsdl/schematron" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" xmlns:ctrl="http://nwalsh.com/xmlns/schema-control/" xmlns="http://relaxng.org/ns/structure/1.0">
33 <define name="db.info.elements" combine="choice">
34 <choice>
35 <ref name="db.productname"/>
36 <ref name="db.productnumber"/>
37 </choice>
38 </define>
39 <define name="db.product.inlines" combine="choice">
40 <choice>
41 <ref name="db.productnumber"/>
42 <ref name="db.productname"/>
43 <ref name="db.database"/>
44 <ref name="db.application"/>
45 <ref name="db.hardware"/>
46 </choice>
47 </define>
48 <!-- ====================================================================== -->
49 <div>
50 <db:refname>productname</db:refname>
51 <db:refpurpose>The formal name of a product</db:refpurpose>
52 <define name="db.productname.role.attribute">
53 <attribute name="role"/>
54 </define>
55 <define name="db.productname.class.enumeration">
56 <choice>
57 <value>copyright</value>
58 <a:documentation>A name with a copyright</a:documentation>
59 <value>registered</value>
60 <a:documentation>A name with a registered copyright</a:documentation>
61 <value>service</value>
62 <a:documentation>A name of a service</a:documentation>
63 <value>trade</value>
64 <a:documentation>A name which is trademarked</a:documentation>
65 </choice>
66 </define>
67 <define name="db.productname.class.attribute">
68 <attribute name="class">
69 <db:refpurpose>Specifies the class of product name</db:refpurpose>
70 <ref name="db.productname.class.enumeration"/>
71 </attribute>
72 </define>
73 <define name="db.productname.attlist">
74 <interleave>
75 <optional>
76 <ref name="db.productname.role.attribute"/>
77 </optional>
78 <ref name="db.common.attributes"/>
79 <ref name="db.common.linking.attributes"/>
80 <optional>
81 <ref name="db.productname.class.attribute"/>
82 </optional>
83 </interleave>
84 </define>
85 <define name="db.productname">
86 <element name="productname">
87 <ref name="db.productname.attlist"/>
88 <ref name="db._text"/>
89 </element>
90 </define>
91 </div>
92 <!-- ====================================================================== -->
93 <div>
94 <db:refname>productnumber</db:refname>
95 <db:refpurpose>A number assigned to a product</db:refpurpose>
96 <define name="db.productnumber.role.attribute">
97 <attribute name="role"/>
98 </define>
99 <define name="db.productnumber.attlist">
100 <interleave>
101 <optional>
102 <ref name="db.productnumber.role.attribute"/>
103 </optional>
104 <ref name="db.common.attributes"/>
105 <ref name="db.common.linking.attributes"/>
106 </interleave>
107 </define>
108 <define name="db.productnumber">
109 <element name="productnumber">
110 <ref name="db.productnumber.attlist"/>
111 <ref name="db._text"/>
112 </element>
113 </define>
114 </div>
115 <!-- ====================================================================== -->
116 <div>
117 <db:refname>database</db:refname>
118 <db:refpurpose>The name of a database, or part of a database</db:refpurpose>
119 <define name="db.database.class.enumeration">
120 <choice>
121 <value>altkey</value>
122 <a:documentation>An alternate or secondary key</a:documentation>
123 <value>constraint</value>
124 <a:documentation>A constraint</a:documentation>
125 <value>datatype</value>
126 <a:documentation>A data type</a:documentation>
127 <value>field</value>
128 <a:documentation>A field</a:documentation>
129 <value>foreignkey</value>
130 <a:documentation>A foreign key</a:documentation>
131 <value>group</value>
132 <a:documentation>A group</a:documentation>
133 <value>index</value>
134 <a:documentation>An index</a:documentation>
135 <value>key1</value>
136 <a:documentation>The first or primary key</a:documentation>
137 <value>key2</value>
138 <a:documentation>An alternate or secondary key</a:documentation>
139 <value>name</value>
140 <a:documentation>A name</a:documentation>
141 <value>primarykey</value>
142 <a:documentation>The primary key</a:documentation>
143 <value>procedure</value>
144 <a:documentation>A (stored) procedure</a:documentation>
145 <value>record</value>
146 <a:documentation>A record</a:documentation>
147 <value>rule</value>
148 <a:documentation>A rule</a:documentation>
149 <value>secondarykey</value>
150 <a:documentation>The secondary key</a:documentation>
151 <value>table</value>
152 <a:documentation>A table</a:documentation>
153 <value>user</value>
154 <a:documentation>A user</a:documentation>
155 <value>view</value>
156 <a:documentation>A view</a:documentation>
157 </choice>
158 </define>
159 <define name="db.database.class.attribute">
160 <attribute name="class">
161 <db:refpurpose>Identifies the class of database artifact</db:refpurpose>
162 <ref name="db.database.class.enumeration"/>
163 </attribute>
164 </define>
165 <define name="db.database.role.attribute">
166 <attribute name="role"/>
167 </define>
168 <define name="db.database.attlist">
169 <interleave>
170 <optional>
171 <ref name="db.database.role.attribute"/>
172 </optional>
173 <ref name="db.common.attributes"/>
174 <ref name="db.common.linking.attributes"/>
175 <optional>
176 <ref name="db.database.class.attribute"/>
177 </optional>
178 </interleave>
179 </define>
180 <define name="db.database">
181 <element name="database">
182 <ref name="db.database.attlist"/>
183 <ref name="db._text"/>
184 </element>
185 </define>
186 </div>
187 <!-- ====================================================================== -->
188 <div>
189 <db:refname>application</db:refname>
190 <db:refpurpose>The name of a software program</db:refpurpose>
191 <define name="db.application.class.enumeration">
192 <choice>
193 <value>hardware</value>
194 <a:documentation>A hardware application</a:documentation>
195 <value>software</value>
196 <a:documentation>A software application</a:documentation>
197 </choice>
198 </define>
199 <define name="db.application.class.attribute">
200 <attribute name="class">
201 <db:refpurpose>Identifies the class of application</db:refpurpose>
202 <ref name="db.application.class.enumeration"/>
203 </attribute>
204 </define>
205 <define name="db.application.role.attribute">
206 <attribute name="role"/>
207 </define>
208 <define name="db.application.attlist">
209 <interleave>
210 <optional>
211 <ref name="db.application.role.attribute"/>
212 </optional>
213 <ref name="db.common.attributes"/>
214 <ref name="db.common.linking.attributes"/>
215 <optional>
216 <ref name="db.application.class.attribute"/>
217 </optional>
218 </interleave>
219 </define>
220 <define name="db.application">
221 <element name="application">
222 <ref name="db.application.attlist"/>
223 <ref name="db._text"/>
224 </element>
225 </define>
226 </div>
227 <!-- ====================================================================== -->
228 <div>
229 <db:refname>hardware</db:refname>
230 <db:refpurpose>A physical part of a computer system</db:refpurpose>
231 <define name="db.hardware.role.attribute">
232 <attribute name="role"/>
233 </define>
234 <define name="db.hardware.attlist">
235 <interleave>
236 <optional>
237 <ref name="db.hardware.role.attribute"/>
238 </optional>
239 <ref name="db.common.attributes"/>
240 <ref name="db.common.linking.attributes"/>
241 </interleave>
242 </define>
243 <define name="db.hardware">
244 <element name="hardware">
245 <ref name="db.hardware.attlist"/>
246 <ref name="db._text"/>
247 </element>
248 </define>
249 </div>
250</grammar>
Note: See TracBrowser for help on using the repository browser.