[b1a51ac1] | 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: annotations.rnc 8931 2010-10-20 13:29:20Z 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: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.annotation"/>
|
---|
| 35 | </start>
|
---|
| 36 | <define name="db.ubiq.inlines" combine="choice">
|
---|
| 37 | <ref name="db.annotation"/>
|
---|
| 38 | </define>
|
---|
| 39 | <define name="db.all.blocks" combine="choice">
|
---|
| 40 | <ref name="db.annotation"/>
|
---|
| 41 | </define>
|
---|
| 42 | <define name="db.info.elements" combine="choice">
|
---|
| 43 | <ref name="db.annotation"/>
|
---|
| 44 | </define>
|
---|
| 45 | <define name="db.annotations.attribute">
|
---|
| 46 | <attribute name="annotations">
|
---|
| 47 | <db:refpurpose>Identifies one or more annotations that apply to this element</db:refpurpose>
|
---|
| 48 | </attribute>
|
---|
| 49 | </define>
|
---|
| 50 | <define name="db.common.attributes" combine="interleave">
|
---|
| 51 | <optional>
|
---|
| 52 | <ref name="db.annotations.attribute"/>
|
---|
| 53 | </optional>
|
---|
| 54 | </define>
|
---|
| 55 | <define name="db.common.idreq.attributes" combine="interleave">
|
---|
| 56 | <optional>
|
---|
| 57 | <ref name="db.annotations.attribute"/>
|
---|
| 58 | </optional>
|
---|
| 59 | </define>
|
---|
| 60 | <!-- ====================================================================== -->
|
---|
| 61 | <div>
|
---|
| 62 | <db:refname>annotation</db:refname>
|
---|
| 63 | <db:refpurpose>An annotation</db:refpurpose>
|
---|
| 64 | <ctrl:exclude from="db.annotation" exclude="db.annotation"/>
|
---|
| 65 | <define name="db.annotation.role.attribute">
|
---|
| 66 | <attribute name="role"/>
|
---|
| 67 | </define>
|
---|
| 68 | <define name="db.annotation.annotates.attribute">
|
---|
| 69 | <attribute name="annotates">
|
---|
| 70 | <db:refpurpose>Identifies one ore more elements to which this annotation applies</db:refpurpose>
|
---|
| 71 | </attribute>
|
---|
| 72 | </define>
|
---|
| 73 | <define name="db.annotation.attlist">
|
---|
| 74 | <interleave>
|
---|
| 75 | <optional>
|
---|
| 76 | <ref name="db.annotation.role.attribute"/>
|
---|
| 77 | </optional>
|
---|
| 78 | <optional>
|
---|
| 79 | <ref name="db.annotation.annotates.attribute"/>
|
---|
| 80 | </optional>
|
---|
| 81 | <ref name="db.common.attributes"/>
|
---|
| 82 | </interleave>
|
---|
| 83 | </define>
|
---|
| 84 | <define name="db.annotation.info">
|
---|
| 85 | <ref name="db._info.title.only"/>
|
---|
| 86 | </define>
|
---|
| 87 | <define name="db.annotation">
|
---|
| 88 | <element name="annotation">
|
---|
| 89 | <ref name="db.annotation.attlist"/>
|
---|
| 90 | <ref name="db.annotation.info"/>
|
---|
| 91 | <oneOrMore>
|
---|
| 92 | <ref name="db.all.blocks"/>
|
---|
| 93 | </oneOrMore>
|
---|
| 94 | </element>
|
---|
| 95 | </define>
|
---|
| 96 | </div>
|
---|
| 97 | </grammar>
|
---|