Changeset d4c109d
- Timestamp:
- Apr 24, 2011, 1:02:46 PM (14 years ago)
- Children:
- 1bdabc9
- Parents:
- 6d86eb1
- Location:
- BOOK/schema/clfs/0.1/rng
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/schema/clfs/0.1/rng/clfs.rnc
r6d86eb1 rd4c109d 17 17 } | clfs.sect.package ) 18 18 } 19 20 # Common Attributes 21 xml.attrib.base = 22 attribute xml:base { 23 text 24 }? 25 xml.attrib.id = 26 attribute id { 27 text 28 } 19 29 20 30 # Extend the standard profiling attributes … … 116 126 clfs.sect.package = 117 127 element c:package { 118 attribute xml:base { text }?,119 attribute id { text },128 xml.attrib.base, 129 xml.attrib.id, 120 130 clfs.attrib.arch, 121 131 clfs.attrib.bits, … … 125 135 }, 126 136 127 element c:title { text }, 128 element c:version { text }, 129 element c:variant { text }?, 130 element c:description { clfs.inline }, 137 element c:title { 138 xml.attrib.base, 139 text 140 }, 141 element c:version { 142 xml.attrib.base, 143 text 144 }, 145 element c:variant { 146 xml.attrib.base, 147 text 148 }?, 149 element c:description { 150 xml.attrib.base, 151 clfs.inline 152 }, 131 153 132 154 element c:install { -
BOOK/schema/clfs/0.1/rng/clfs.rng
r6d86eb1 rd4c109d 49 49 </define> 50 50 </include> 51 <!-- Common Attributes --> 52 <define name="xml.attrib.base"> 53 <optional> 54 <attribute name="xml:base"/> 55 </optional> 56 </define> 57 <define name="xml.attrib.id"> 58 <attribute name="id"/> 59 </define> 51 60 <!-- Extend the standard profiling attributes --> 52 61 <define name="local.effectivity.attrib" combine="interleave"> … … 192 201 <define name="clfs.sect.package"> 193 202 <element name="c:package"> 194 <optional> 195 <attribute name="xml:base"/> 196 </optional> 197 <attribute name="id"/> 203 <ref name="xml.attrib.base"/> 204 <ref name="xml.attrib.id"/> 198 205 <ref name="clfs.attrib.arch"/> 199 206 <ref name="clfs.attrib.bits"/> … … 206 213 </attribute> 207 214 <element name="c:title"> 215 <ref name="xml.attrib.base"/> 208 216 <text/> 209 217 </element> 210 218 <element name="c:version"> 219 <ref name="xml.attrib.base"/> 211 220 <text/> 212 221 </element> 213 222 <optional> 214 223 <element name="c:variant"> 224 <ref name="xml.attrib.base"/> 215 225 <text/> 216 226 </element> 217 227 </optional> 218 228 <element name="c:description"> 229 <ref name="xml.attrib.base"/> 219 230 <ref name="clfs.inline"/> 220 231 </element>
Note:
See TracChangeset
for help on using the changeset viewer.