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 | <start combine="choice">
|
---|
34 | <ref name="db.cmdsynopsis"/>
|
---|
35 | </start>
|
---|
36 | <define name="db.domain.inlines" combine="choice">
|
---|
37 | <ref name="db.os.inlines"/>
|
---|
38 | </define>
|
---|
39 | <define name="db.synopsis.blocks" combine="choice">
|
---|
40 | <ref name="db.cmdsynopsis"/>
|
---|
41 | </define>
|
---|
42 | <define name="db.os.inlines">
|
---|
43 | <choice>
|
---|
44 | <ref name="db.prompt"/>
|
---|
45 | <ref name="db.envar"/>
|
---|
46 | <ref name="db.filename"/>
|
---|
47 | <ref name="db.command"/>
|
---|
48 | <ref name="db.computeroutput"/>
|
---|
49 | <ref name="db.userinput"/>
|
---|
50 | </choice>
|
---|
51 | </define>
|
---|
52 | <define name="db.computeroutput.inlines">
|
---|
53 | <choice>
|
---|
54 | <text/>
|
---|
55 | <ref name="db.ubiq.inlines"/>
|
---|
56 | <ref name="db.os.inlines"/>
|
---|
57 | <ref name="db.technical.inlines"/>
|
---|
58 | </choice>
|
---|
59 | </define>
|
---|
60 | <define name="db.userinput.inlines">
|
---|
61 | <choice>
|
---|
62 | <text/>
|
---|
63 | <ref name="db.ubiq.inlines"/>
|
---|
64 | <ref name="db.os.inlines"/>
|
---|
65 | <ref name="db.technical.inlines"/>
|
---|
66 | </choice>
|
---|
67 | </define>
|
---|
68 | <!-- ====================================================================== -->
|
---|
69 | <define name="db.prompt.inlines">
|
---|
70 | <ref name="db._text"/>
|
---|
71 | </define>
|
---|
72 | <!-- ====================================================================== -->
|
---|
73 | <div>
|
---|
74 | <db:refname>prompt</db:refname>
|
---|
75 | <db:refpurpose>A character or string indicating the start of an input field in a computer display</db:refpurpose>
|
---|
76 | <define name="db.prompt.role.attribute">
|
---|
77 | <attribute name="role"/>
|
---|
78 | </define>
|
---|
79 | <define name="db.prompt.attlist">
|
---|
80 | <interleave>
|
---|
81 | <optional>
|
---|
82 | <ref name="db.prompt.role.attribute"/>
|
---|
83 | </optional>
|
---|
84 | <ref name="db.common.attributes"/>
|
---|
85 | <ref name="db.common.linking.attributes"/>
|
---|
86 | </interleave>
|
---|
87 | </define>
|
---|
88 | <define name="db.prompt">
|
---|
89 | <element name="prompt">
|
---|
90 | <ref name="db.prompt.attlist"/>
|
---|
91 | <zeroOrMore>
|
---|
92 | <ref name="db.prompt.inlines"/>
|
---|
93 | </zeroOrMore>
|
---|
94 | </element>
|
---|
95 | </define>
|
---|
96 | </div>
|
---|
97 | <!-- ====================================================================== -->
|
---|
98 | <div>
|
---|
99 | <db:refname>envar</db:refname>
|
---|
100 | <db:refpurpose>A software environment variable</db:refpurpose>
|
---|
101 | <define name="db.envar.role.attribute">
|
---|
102 | <attribute name="role"/>
|
---|
103 | </define>
|
---|
104 | <define name="db.envar.attlist">
|
---|
105 | <interleave>
|
---|
106 | <optional>
|
---|
107 | <ref name="db.envar.role.attribute"/>
|
---|
108 | </optional>
|
---|
109 | <ref name="db.common.attributes"/>
|
---|
110 | <ref name="db.common.linking.attributes"/>
|
---|
111 | </interleave>
|
---|
112 | </define>
|
---|
113 | <define name="db.envar">
|
---|
114 | <element name="envar">
|
---|
115 | <ref name="db.envar.attlist"/>
|
---|
116 | <ref name="db._text"/>
|
---|
117 | </element>
|
---|
118 | </define>
|
---|
119 | </div>
|
---|
120 | <!-- ====================================================================== -->
|
---|
121 | <div>
|
---|
122 | <db:refname>filename</db:refname>
|
---|
123 | <db:refpurpose>The name of a file</db:refpurpose>
|
---|
124 | <define name="db.filename.class.enumeration">
|
---|
125 | <choice>
|
---|
126 | <value>devicefile</value>
|
---|
127 | <a:documentation>A device</a:documentation>
|
---|
128 | <value>directory</value>
|
---|
129 | <a:documentation>A directory</a:documentation>
|
---|
130 | <value>extension</value>
|
---|
131 | <a:documentation>A filename extension</a:documentation>
|
---|
132 | <value>headerfile</value>
|
---|
133 | <a:documentation>A header file (as for a programming language)</a:documentation>
|
---|
134 | <value>libraryfile</value>
|
---|
135 | <a:documentation>A library file</a:documentation>
|
---|
136 | <value>partition</value>
|
---|
137 | <a:documentation>A partition (as of a hard disk)</a:documentation>
|
---|
138 | <value>symlink</value>
|
---|
139 | <a:documentation>A symbolic link</a:documentation>
|
---|
140 | </choice>
|
---|
141 | </define>
|
---|
142 | <define name="db.filename.class.attribute">
|
---|
143 | <attribute name="class">
|
---|
144 | <db:refpurpose>Identifies the class of filename</db:refpurpose>
|
---|
145 | <ref name="db.filename.class.enumeration"/>
|
---|
146 | </attribute>
|
---|
147 | </define>
|
---|
148 | <define name="db.filename.path.attribute">
|
---|
149 | <attribute name="path">
|
---|
150 | <db:refpurpose>Specifies the path of the filename</db:refpurpose>
|
---|
151 | </attribute>
|
---|
152 | </define>
|
---|
153 | <define name="db.filename.role.attribute">
|
---|
154 | <attribute name="role"/>
|
---|
155 | </define>
|
---|
156 | <define name="db.filename.attlist">
|
---|
157 | <interleave>
|
---|
158 | <optional>
|
---|
159 | <ref name="db.filename.role.attribute"/>
|
---|
160 | </optional>
|
---|
161 | <ref name="db.common.attributes"/>
|
---|
162 | <ref name="db.common.linking.attributes"/>
|
---|
163 | <optional>
|
---|
164 | <ref name="db.filename.path.attribute"/>
|
---|
165 | </optional>
|
---|
166 | <optional>
|
---|
167 | <ref name="db.filename.class.attribute"/>
|
---|
168 | </optional>
|
---|
169 | </interleave>
|
---|
170 | </define>
|
---|
171 | <define name="db.filename">
|
---|
172 | <element name="filename">
|
---|
173 | <ref name="db.filename.attlist"/>
|
---|
174 | <ref name="db._text"/>
|
---|
175 | </element>
|
---|
176 | </define>
|
---|
177 | </div>
|
---|
178 | <!-- ====================================================================== -->
|
---|
179 | <div>
|
---|
180 | <db:refname>command</db:refname>
|
---|
181 | <db:refpurpose>The name of an executable program or other software command</db:refpurpose>
|
---|
182 | <define name="db.command.role.attribute">
|
---|
183 | <attribute name="role"/>
|
---|
184 | </define>
|
---|
185 | <define name="db.command.attlist">
|
---|
186 | <interleave>
|
---|
187 | <optional>
|
---|
188 | <ref name="db.command.role.attribute"/>
|
---|
189 | </optional>
|
---|
190 | <ref name="db.common.attributes"/>
|
---|
191 | <ref name="db.common.linking.attributes"/>
|
---|
192 | </interleave>
|
---|
193 | </define>
|
---|
194 | <define name="db.command">
|
---|
195 | <element name="command">
|
---|
196 | <ref name="db.command.attlist"/>
|
---|
197 | <ref name="db._text"/>
|
---|
198 | </element>
|
---|
199 | </define>
|
---|
200 | </div>
|
---|
201 | <!-- ====================================================================== -->
|
---|
202 | <div>
|
---|
203 | <db:refname>computeroutput</db:refname>
|
---|
204 | <db:refpurpose>Data, generally text, displayed or presented by a computer</db:refpurpose>
|
---|
205 | <define name="db.computeroutput.role.attribute">
|
---|
206 | <attribute name="role"/>
|
---|
207 | </define>
|
---|
208 | <define name="db.computeroutput.attlist">
|
---|
209 | <interleave>
|
---|
210 | <optional>
|
---|
211 | <ref name="db.computeroutput.role.attribute"/>
|
---|
212 | </optional>
|
---|
213 | <ref name="db.common.attributes"/>
|
---|
214 | <ref name="db.common.linking.attributes"/>
|
---|
215 | </interleave>
|
---|
216 | </define>
|
---|
217 | <define name="db.computeroutput">
|
---|
218 | <element name="computeroutput">
|
---|
219 | <ref name="db.computeroutput.attlist"/>
|
---|
220 | <zeroOrMore>
|
---|
221 | <ref name="db.computeroutput.inlines"/>
|
---|
222 | </zeroOrMore>
|
---|
223 | </element>
|
---|
224 | </define>
|
---|
225 | </div>
|
---|
226 | <!-- ====================================================================== -->
|
---|
227 | <div>
|
---|
228 | <db:refname>userinput</db:refname>
|
---|
229 | <db:refpurpose>Data entered by the user</db:refpurpose>
|
---|
230 | <define name="db.userinput.role.attribute">
|
---|
231 | <attribute name="role"/>
|
---|
232 | </define>
|
---|
233 | <define name="db.userinput.attlist">
|
---|
234 | <interleave>
|
---|
235 | <optional>
|
---|
236 | <ref name="db.userinput.role.attribute"/>
|
---|
237 | </optional>
|
---|
238 | <ref name="db.common.attributes"/>
|
---|
239 | <ref name="db.common.linking.attributes"/>
|
---|
240 | </interleave>
|
---|
241 | </define>
|
---|
242 | <define name="db.userinput">
|
---|
243 | <element name="userinput">
|
---|
244 | <ref name="db.userinput.attlist"/>
|
---|
245 | <zeroOrMore>
|
---|
246 | <ref name="db.userinput.inlines"/>
|
---|
247 | </zeroOrMore>
|
---|
248 | </element>
|
---|
249 | </define>
|
---|
250 | </div>
|
---|
251 | <!-- ====================================================================== -->
|
---|
252 | <div>
|
---|
253 | <db:refname>cmdsynopsis</db:refname>
|
---|
254 | <db:refpurpose>A syntax summary for a software command</db:refpurpose>
|
---|
255 | <define name="db.cmdsynopsis.role.attribute">
|
---|
256 | <attribute name="role"/>
|
---|
257 | </define>
|
---|
258 | <define name="db.cmdsynopsis.sepchar.attribute">
|
---|
259 | <attribute name="sepchar">
|
---|
260 | <db:refpurpose>Specifies the character that should separate the command and its top-level arguments</db:refpurpose>
|
---|
261 | </attribute>
|
---|
262 | </define>
|
---|
263 | <define name="db.cmdsynopsis.cmdlength.attribute">
|
---|
264 | <attribute name="cmdlength">
|
---|
265 | <db:refpurpose>Indicates the displayed length of the command; this information may be used to intelligently indent command synopses which extend beyond one line</db:refpurpose>
|
---|
266 | </attribute>
|
---|
267 | </define>
|
---|
268 | <define name="db.cmdsynopsis.label.attribute">
|
---|
269 | <ref name="db.label.attribute"/>
|
---|
270 | </define>
|
---|
271 | <define name="db.cmdsynopsis.attlist">
|
---|
272 | <interleave>
|
---|
273 | <optional>
|
---|
274 | <ref name="db.cmdsynopsis.role.attribute"/>
|
---|
275 | </optional>
|
---|
276 | <ref name="db.common.attributes"/>
|
---|
277 | <ref name="db.common.linking.attributes"/>
|
---|
278 | <optional>
|
---|
279 | <ref name="db.cmdsynopsis.sepchar.attribute"/>
|
---|
280 | </optional>
|
---|
281 | <optional>
|
---|
282 | <ref name="db.cmdsynopsis.cmdlength.attribute"/>
|
---|
283 | </optional>
|
---|
284 | <optional>
|
---|
285 | <ref name="db.cmdsynopsis.label.attribute"/>
|
---|
286 | </optional>
|
---|
287 | </interleave>
|
---|
288 | </define>
|
---|
289 | <define name="db.cmdsynopsis.info">
|
---|
290 | <ref name="db._info.title.forbidden"/>
|
---|
291 | </define>
|
---|
292 | <define name="db.cmdsynopsis">
|
---|
293 | <element name="cmdsynopsis">
|
---|
294 | <ref name="db.cmdsynopsis.attlist"/>
|
---|
295 | <ref name="db.cmdsynopsis.info"/>
|
---|
296 | <oneOrMore>
|
---|
297 | <choice>
|
---|
298 | <ref name="db.command"/>
|
---|
299 | <ref name="db.arg"/>
|
---|
300 | <ref name="db.group"/>
|
---|
301 | <ref name="db.sbr"/>
|
---|
302 | </choice>
|
---|
303 | </oneOrMore>
|
---|
304 | <zeroOrMore>
|
---|
305 | <ref name="db.synopfragment"/>
|
---|
306 | </zeroOrMore>
|
---|
307 | </element>
|
---|
308 | </define>
|
---|
309 | </div>
|
---|
310 | <!-- ====================================================================== -->
|
---|
311 | <define name="db.rep.enumeration">
|
---|
312 | <choice>
|
---|
313 | <value>norepeat</value>
|
---|
314 | <a:documentation>Can not be repeated.</a:documentation>
|
---|
315 | <value>repeat</value>
|
---|
316 | <a:documentation>Can be repeated.</a:documentation>
|
---|
317 | </choice>
|
---|
318 | </define>
|
---|
319 | <define name="db.rep.attribute">
|
---|
320 | <attribute name="rep" a:defaultValue="norepeat">
|
---|
321 | <db:refpurpose>Indicates whether or not repetition is possible.</db:refpurpose>
|
---|
322 | <ref name="db.rep.enumeration"/>
|
---|
323 | </attribute>
|
---|
324 | </define>
|
---|
325 | <define name="db.choice.enumeration">
|
---|
326 | <choice>
|
---|
327 | <value>opt</value>
|
---|
328 | <a:documentation>Formatted to indicate that it is optional.</a:documentation>
|
---|
329 | <value>plain</value>
|
---|
330 | <a:documentation>Formatted without indication.</a:documentation>
|
---|
331 | <value>req</value>
|
---|
332 | <a:documentation>Formatted to indicate that it is required.</a:documentation>
|
---|
333 | </choice>
|
---|
334 | </define>
|
---|
335 | <define name="db.choice.opt.attribute">
|
---|
336 | <attribute name="choice" a:defaultValue="opt">
|
---|
337 | <db:refpurpose>Indicates optionality.</db:refpurpose>
|
---|
338 | <ref name="db.choice.enumeration"/>
|
---|
339 | </attribute>
|
---|
340 | </define>
|
---|
341 | <define name="db.choice.req.attribute">
|
---|
342 | <attribute name="choice" a:defaultValue="req">
|
---|
343 | <db:refpurpose>Indicates optionality.</db:refpurpose>
|
---|
344 | <ref name="db.choice.enumeration"/>
|
---|
345 | </attribute>
|
---|
346 | </define>
|
---|
347 | <!-- ====================================================================== -->
|
---|
348 | <div>
|
---|
349 | <db:refname>arg</db:refname>
|
---|
350 | <db:refpurpose>An argument in a cmdsynopsis</db:refpurpose>
|
---|
351 | <define name="db.arg.role.attribute">
|
---|
352 | <attribute name="role"/>
|
---|
353 | </define>
|
---|
354 | <define name="db.arg.rep.attribute">
|
---|
355 | <ref name="db.rep.attribute"/>
|
---|
356 | </define>
|
---|
357 | <define name="db.arg.choice.attribute">
|
---|
358 | <ref name="db.choice.opt.attribute"/>
|
---|
359 | </define>
|
---|
360 | <define name="db.arg.attlist">
|
---|
361 | <interleave>
|
---|
362 | <optional>
|
---|
363 | <ref name="db.arg.role.attribute"/>
|
---|
364 | </optional>
|
---|
365 | <ref name="db.common.attributes"/>
|
---|
366 | <ref name="db.common.linking.attributes"/>
|
---|
367 | <optional>
|
---|
368 | <ref name="db.arg.rep.attribute"/>
|
---|
369 | </optional>
|
---|
370 | <optional>
|
---|
371 | <ref name="db.arg.choice.attribute"/>
|
---|
372 | </optional>
|
---|
373 | </interleave>
|
---|
374 | </define>
|
---|
375 | <define name="db.arg">
|
---|
376 | <element name="arg">
|
---|
377 | <ref name="db.arg.attlist"/>
|
---|
378 | <zeroOrMore>
|
---|
379 | <choice>
|
---|
380 | <ref name="db._text"/>
|
---|
381 | <ref name="db.arg"/>
|
---|
382 | <ref name="db.group"/>
|
---|
383 | <ref name="db.option"/>
|
---|
384 | <ref name="db.synopfragmentref"/>
|
---|
385 | <ref name="db.sbr"/>
|
---|
386 | </choice>
|
---|
387 | </zeroOrMore>
|
---|
388 | </element>
|
---|
389 | </define>
|
---|
390 | </div>
|
---|
391 | <!-- ====================================================================== -->
|
---|
392 | <div>
|
---|
393 | <db:refname>group</db:refname>
|
---|
394 | <db:refpurpose>A group of elements in a cmdsynopsis</db:refpurpose>
|
---|
395 | <define name="db.group.role.attribute">
|
---|
396 | <attribute name="role"/>
|
---|
397 | </define>
|
---|
398 | <define name="db.group.rep.attribute">
|
---|
399 | <ref name="db.rep.attribute"/>
|
---|
400 | </define>
|
---|
401 | <define name="db.group.choice.attribute">
|
---|
402 | <ref name="db.choice.opt.attribute"/>
|
---|
403 | </define>
|
---|
404 | <define name="db.group.attlist">
|
---|
405 | <interleave>
|
---|
406 | <optional>
|
---|
407 | <ref name="db.group.role.attribute"/>
|
---|
408 | </optional>
|
---|
409 | <ref name="db.common.attributes"/>
|
---|
410 | <ref name="db.common.linking.attributes"/>
|
---|
411 | <optional>
|
---|
412 | <ref name="db.group.rep.attribute"/>
|
---|
413 | </optional>
|
---|
414 | <optional>
|
---|
415 | <ref name="db.group.choice.attribute"/>
|
---|
416 | </optional>
|
---|
417 | </interleave>
|
---|
418 | </define>
|
---|
419 | <define name="db.group">
|
---|
420 | <element name="group">
|
---|
421 | <ref name="db.group.attlist"/>
|
---|
422 | <oneOrMore>
|
---|
423 | <choice>
|
---|
424 | <ref name="db.arg"/>
|
---|
425 | <ref name="db.group"/>
|
---|
426 | <ref name="db.option"/>
|
---|
427 | <ref name="db.synopfragmentref"/>
|
---|
428 | <ref name="db.replaceable"/>
|
---|
429 | <ref name="db.sbr"/>
|
---|
430 | </choice>
|
---|
431 | </oneOrMore>
|
---|
432 | </element>
|
---|
433 | </define>
|
---|
434 | </div>
|
---|
435 | <!-- ====================================================================== -->
|
---|
436 | <div>
|
---|
437 | <db:refname>sbr</db:refname>
|
---|
438 | <db:refpurpose>An explicit line break in a command synopsis</db:refpurpose>
|
---|
439 | <define name="db.sbr.role.attribute">
|
---|
440 | <attribute name="role"/>
|
---|
441 | </define>
|
---|
442 | <define name="db.sbr.attlist">
|
---|
443 | <interleave>
|
---|
444 | <optional>
|
---|
445 | <ref name="db.sbr.role.attribute"/>
|
---|
446 | </optional>
|
---|
447 | <ref name="db.common.attributes"/>
|
---|
448 | </interleave>
|
---|
449 | </define>
|
---|
450 | <define name="db.sbr">
|
---|
451 | <element name="sbr">
|
---|
452 | <ref name="db.sbr.attlist"/>
|
---|
453 | <empty/>
|
---|
454 | </element>
|
---|
455 | </define>
|
---|
456 | </div>
|
---|
457 | <!-- ====================================================================== -->
|
---|
458 | <div>
|
---|
459 | <db:refname>synopfragment</db:refname>
|
---|
460 | <db:refpurpose>A portion of a cmdsynopsis broken out from the main body of the synopsis</db:refpurpose>
|
---|
461 | <define name="db.synopfragment.role.attribute">
|
---|
462 | <attribute name="role"/>
|
---|
463 | </define>
|
---|
464 | <define name="db.synopfragment.attlist">
|
---|
465 | <interleave>
|
---|
466 | <optional>
|
---|
467 | <ref name="db.synopfragment.role.attribute"/>
|
---|
468 | </optional>
|
---|
469 | <ref name="db.common.attributes"/>
|
---|
470 | <ref name="db.common.linking.attributes"/>
|
---|
471 | </interleave>
|
---|
472 | </define>
|
---|
473 | <define name="db.synopfragment">
|
---|
474 | <element name="synopfragment">
|
---|
475 | <ref name="db.synopfragment.attlist"/>
|
---|
476 | <oneOrMore>
|
---|
477 | <choice>
|
---|
478 | <ref name="db.arg"/>
|
---|
479 | <ref name="db.group"/>
|
---|
480 | </choice>
|
---|
481 | </oneOrMore>
|
---|
482 | </element>
|
---|
483 | </define>
|
---|
484 | </div>
|
---|
485 | <!-- ====================================================================== -->
|
---|
486 | <div>
|
---|
487 | <db:refname>synopfragmentref</db:refname>
|
---|
488 | <db:refpurpose>A reference to a fragment of a command synopsis</db:refpurpose>
|
---|
489 | <define name="db.synopfragmentref.role.attribute">
|
---|
490 | <attribute name="role"/>
|
---|
491 | </define>
|
---|
492 | <define name="db.synopfragmentref.attlist">
|
---|
493 | <interleave>
|
---|
494 | <optional>
|
---|
495 | <ref name="db.synopfragmentref.role.attribute"/>
|
---|
496 | </optional>
|
---|
497 | <ref name="db.common.attributes"/>
|
---|
498 | <ref name="db.linkend.attribute"/>
|
---|
499 | </interleave>
|
---|
500 | </define>
|
---|
501 | <define name="db.synopfragmentref">
|
---|
502 | <element name="synopfragmentref">
|
---|
503 | <s:pattern name="Synopsis fragment type constraint">
|
---|
504 | <s:rule context="db:synopfragmentref">
|
---|
505 | <s:assert test="local-name(//*[@xml:id=current()/@linkend]) = 'synopfragment' and namespace-uri(//*[@xml:id=current()/@linkend]) = 'http://docbook.org/ns/docbook'">@linkend on synopfragmentref must point to a synopfragment.</s:assert>
|
---|
506 | </s:rule>
|
---|
507 | </s:pattern>
|
---|
508 | <ref name="db.synopfragmentref.attlist"/>
|
---|
509 | <text/>
|
---|
510 | </element>
|
---|
511 | </define>
|
---|
512 | </div>
|
---|
513 | </grammar>
|
---|