Changeset 5c560cb for BOOK/schema/clfs/0.1/rng/clfs.rng
- Timestamp:
- Apr 23, 2011, 2:45:35 PM (14 years ago)
- Children:
- d10f81a
- Parents:
- 5f27dfa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/schema/clfs/0.1/rng/clfs.rng
r5f27dfa r5c560cb 45 45 </zeroOrMore> 46 46 </element> 47 <ref name="clfs.sect 1.package"/>47 <ref name="clfs.sect.package"/> 48 48 </choice> 49 49 </define> … … 55 55 <ref name="clfs.attrib.multilib"/> 56 56 </define> 57 <!-- Custom attributes unsed in this schema-->57 <!-- Profiling Attributes --> 58 58 <define name="clfs.attrib.arch"> 59 59 <optional> … … 76 76 </optional> 77 77 </define> 78 <define name="clfs.attrib.multibuild"> 79 <attribute name="c:multibuild"> 78 <!-- Inline Elements --> 79 <define name="clfs.inline"> 80 <oneOrMore> 80 81 <choice> 81 <value>true</value> 82 <value>false</value> 82 <ref name="clfs.inline.strong"/> 83 <ref name="clfs.inline.dirname"/> 84 <ref name="clfs.inline.filename"/> 85 <ref name="clfs.inline.command"/> 86 <text/> 83 87 </choice> 84 </ attribute>88 </oneOrMore> 85 89 </define> 86 <!-- Package element to be used inside of the chapter element --> 87 <define name="clfs.sect1.package"> 90 <define name="clfs.inline.strong"> 91 <element name="c:strong"> 92 <ref name="clfs.inline"/> 93 </element> 94 </define> 95 <define name="clfs.inline.dirname"> 96 <element name="c:dirname"> 97 <ref name="clfs.inline"/> 98 </element> 99 </define> 100 <define name="clfs.inline.filename"> 101 <element name="c:filename"> 102 <ref name="clfs.inline"/> 103 </element> 104 </define> 105 <define name="clfs.inline.command"> 106 <element name="c:command"> 107 <ref name="clfs.inline"/> 108 </element> 109 </define> 110 <!-- Block Elements --> 111 <define name="clfs.block.para"> 112 <element name="c:para"> 113 <ref name="clfs.inline"/> 114 </element> 115 </define> 116 <define name="clfs.block.note"> 117 <element name="c:note"> 118 <zeroOrMore> 119 <ref name="clfs.block.para"/> 120 </zeroOrMore> 121 </element> 122 </define> 123 <define name="clfs.block.command"> 124 <element name="c:command"> 125 <ref name="clfs.attrib.arch"/> 126 <ref name="clfs.attrib.bits"/> 127 <ref name="clfs.attrib.multilib"/> 128 <optional> 129 <attribute name="c:nodump"> 130 <choice> 131 <value>true</value> 132 <value>false</value> 133 </choice> 134 </attribute> 135 </optional> 136 <oneOrMore> 137 <choice> 138 <element name="c:literal"> 139 <text/> 140 </element> 141 <text/> 142 </choice> 143 </oneOrMore> 144 </element> 145 </define> 146 <!-- The Package --> 147 <define name="clfs.sect.package"> 88 148 <element name="c:package"> 89 149 <attribute name="id"/> … … 91 151 <ref name="clfs.attrib.bits"/> 92 152 <ref name="clfs.attrib.multilib"/> 93 <ref name="clfs.attrib.multibuild"/> 94 <ref name="sect1"/> 95 </element> 96 </define> 97 <!-- Switch case to be used inside of a sect1 --> 98 <define name="clfs.sect1.switch"> 99 <element name="c:switch"> 100 <zeroOrMore> 101 <element name="c:case"> 102 <ref name="clfs.attrib.arch"/> 103 <ref name="clfs.attrib.bits"/> 104 <ref name="clfs.attrib.multilib"/> 153 <attribute name="c:multibuild"> 154 <choice> 155 <value>true</value> 156 <value>false</value> 157 </choice> 158 </attribute> 159 <element name="c:title"> 160 <text/> 161 </element> 162 <element name="c:version"> 163 <text/> 164 </element> 165 <element name="c:description"> 166 <ref name="clfs.inline"/> 167 </element> 168 <oneOrMore> 169 <element name="c:install"> 170 <oneOrMore> 171 <choice> 172 <ref name="clfs.block.para"/> 173 <ref name="clfs.block.command"/> 174 <ref name="clfs.block.note"/> 175 </choice> 176 </oneOrMore> 105 177 </element> 106 </zeroOrMore> 107 <element name="c:default"> 108 <empty/> 109 </element> 178 </oneOrMore> 110 179 </element> 111 180 </define>
Note:
See TracChangeset
for help on using the changeset viewer.