Changeset 448 for rfc2629xslt/rfc2629.rnc
- Timestamp:
- 24/02/09 21:31:57 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rfc2629xslt/rfc2629.rnc
r446 r448 1 # revised DTD for the RFC document series, draft of 2008-02-01 1 # revised DTD for the RFC document series, draft of 2008-03-06 2 3 # Typical invocation: 4 # <!DOCTYPE rfc PUBLIC "-//IETF//DTD RFC 2629//EN" 5 # "http://xml.resource.org/authoring/rfc2629.dtd" [ 6 # ... dtd subset ... 7 # ]> 8 # or 9 # <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [ 10 # ... dtd subset ... 11 # ]> 2 12 3 13 # Contents 4 14 # 15 # Character entities 16 # 5 17 # DTD data types 6 18 # … … 12 24 # 13 25 # Back matter 26 27 # Character entities 14 28 15 29 # DTD data types: … … 52 66 [ a:defaultValue = "" ] attribute obsoletes { NUMBERS }?, 53 67 [ a:defaultValue = "" ] attribute updates { NUMBERS }?, 54 [ a:defaultValue = "info" ]attribute category { "std" | "bcp" | "info" | "exp" | "historic" }?,68 attribute category { "std" | "bcp" | "info" | "exp" | "historic" }?, 55 69 attribute seriesNo { NUMBER }?, 56 70 attribute ipr { … … 67 81 | "noModificationTrust200811" 68 82 | "noDerivativesTrust200811" 83 | "trust200902" 84 | "noModificationTrust200902" 85 | "noDerivativesTrust200902" 86 | "pre5378Trust200902" 69 87 }?, 70 88 attribute iprExtract { xsd:IDREF }?, 89 [ a:defaultValue = "IETF" ] 71 90 attribute submissionType { "IETF" | "independent" }?, 72 91 attribute docName { ATEXT }?, … … 145 164 attlist.note &= attribute title { ATEXT } 146 165 # The body 147 148 166 middle = element middle { attlist.middle, section+ } 149 167 attlist.middle &= empty 150 168 section = 151 169 element section { 152 attlist.section, ( (t | figure | texttable | iref)* , section*)170 attlist.section, (t | figure | texttable | iref)*, section* 153 171 } 154 172 attlist.section &= 155 173 attribute anchor { xsd:ID }?, 156 174 attribute title { ATEXT }, 157 [ a:defaultValue = "default" ] attribute toc { "include" | "exclude" | "default" }? 175 [ a:defaultValue = "default" ] 176 attribute toc { "include" | "exclude" | "default" }? 158 177 # use of <appendix/> is deprecated... 159 178 # <!ELEMENT appendix ((t|figure|texttable|iref)*,appendix*)> … … 178 197 | vspace)* 179 198 } 180 attlist.t &= attribute anchor { xsd:ID }?, attribute hangText { ATEXT }? 199 attlist.t &= 200 attribute anchor { xsd:ID }?, 201 attribute hangText { ATEXT }? 181 202 # the value of the style attribute is inherited from the closest 182 203 # parent … … 190 211 attribute target { xsd:IDREF }, 191 212 [ a:defaultValue = "false" ] attribute pageno { "true" | "false" }?, 192 [ a:defaultValue = "default" ] attribute format { "counter" | "title" | "none" | "default" }? 213 [ a:defaultValue = "default" ] 214 attribute format { "counter" | "title" | "none" | "default" }? 193 215 eref = element eref { attlist.eref, CTEXT } 194 216 attlist.eref &= attribute target { URI } … … 204 226 spanx = element spanx { attlist.spanx, CTEXT } 205 227 attlist.spanx &= 206 [ a:defaultValue = "preserve" ] attribute xml:space { "default" | "preserve" }?, 228 [ a:defaultValue = "preserve" ] 229 attribute xml:space { "default" | "preserve" }?, 207 230 [ a:defaultValue = "emph" ] attribute style { ATEXT }? 208 231 vspace = element vspace { attlist.vspace, empty } … … 210 233 [ a:defaultValue = "0" ] attribute blankLines { NUMBER }? 211 234 figure = 212 element figure { attlist.figure, iref*, preamble?, artwork, postamble? } 235 element figure { 236 attlist.figure, iref*, preamble?, artwork, postamble? 237 } 213 238 attlist.figure &= 214 239 attribute anchor { xsd:ID }?, 215 240 [ a:defaultValue = "" ] attribute title { ATEXT }?, 216 [ a:defaultValue = "false" ] attribute suppress-title { "true" | "false" }?, 217 [ a:defaultValue = "" ] attribute src { ATEXT }?, 218 [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }?, 241 [ a:defaultValue = "false" ] 242 attribute suppress-title { "true" | "false" }?, 243 attribute src { URI }?, 244 [ a:defaultValue = "left" ] 245 attribute align { "left" | "center" | "right" }?, 219 246 [ a:defaultValue = "" ] attribute alt { ATEXT }?, 220 [ a:defaultValue = "" ] attribute width { NUMBER}?,221 [ a:defaultValue = "" ] attribute height { NUMBER}?247 [ a:defaultValue = "" ] attribute width { ATEXT }?, 248 [ a:defaultValue = "" ] attribute height { ATEXT }? 222 249 preamble = 223 250 element preamble { … … 227 254 artwork = element artwork { attlist.artwork, TEXT* } 228 255 attlist.artwork &= 229 [ a:defaultValue = "preserve" ] attribute xml:space { "default" | "preserve" }?, 256 [ a:defaultValue = "preserve" ] 257 attribute xml:space { "default" | "preserve" }?, 230 258 [ a:defaultValue = "" ] attribute name { ATEXT }?, 231 259 [ a:defaultValue = "" ] attribute type { ATEXT }?, 232 260 attribute src { URI }?, 233 [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }?, 261 [ a:defaultValue = "left" ] 262 attribute align { "left" | "center" | "right" }?, 234 263 [ a:defaultValue = "" ] attribute alt { ATEXT }?, 235 264 [ a:defaultValue = "" ] attribute width { ATEXT }?, … … 247 276 attribute anchor { xsd:ID }?, 248 277 [ a:defaultValue = "" ] attribute title { ATEXT }?, 249 [ a:defaultValue = "false" ] attribute suppress-title { "true" | "false" }?, 250 [ a:defaultValue = "center" ] attribute align { "left" | "center" | "right" }?, 251 [ a:defaultValue = "full" ] attribute style { "all" | "none" | "headers" | "full" }? 278 [ a:defaultValue = "false" ] 279 attribute suppress-title { "true" | "false" }?, 280 [ a:defaultValue = "center" ] 281 attribute align { "left" | "center" | "right" }?, 282 [ a:defaultValue = "full" ] 283 attribute style { "all" | "none" | "headers" | "full" }? 252 284 ttcol = element ttcol { attlist.ttcol, CTEXT } 253 285 attlist.ttcol &= 254 286 attribute width { ATEXT }?, 255 [ a:defaultValue = "left" ] attribute align { "left" | "center" | "right" }? 287 [ a:defaultValue = "left" ] 288 attribute align { "left" | "center" | "right" }? 256 289 c = element c { attlist.c, (TEXT | xref | eref | iref | cref | spanx)* } 257 290 attlist.c &= empty
Note: See TracChangeset
for help on using the changeset viewer.