/[suikacvs]/markup/rfc/dtd/module/rfc2629.dms
Suika

Contents of /markup/rfc/dtd/module/rfc2629.dms

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Oct 30 07:06:48 2003 UTC (21 years, 1 month ago) by wakaba
Branch: MAIN
Changes since 1.1: +77 -39 lines
Sync with latest rfc2629.xslt

1 wakaba 1.1 #?SuikaWikiConfig/2.0
2    
3     ModuleSet:
4     @Name: Markup Language for IETF RFCs
5     @Version: (RFC 2629)
6     @ID: rfc2629
7     @BaseURI:
8     http://suika.fam.cx/gate/cvs/*checkout*/markup/rfc/dtd/2629/
9    
10     @Namespace:
11     @@Name:
12     urn:x-suika-fam-cx:markup:ietf:rfc:2629:
13     @@DefaultPrefix: rfc
14     @@UsePrefix: -1
15    
16     @Copyright: Wakaba <w@suika.fam.cx>
17 wakaba 1.2 @RCSDate: $Date: 2003/10/23 23:25:33 $
18 wakaba 1.1
19     Datatype:
20     @Type:
21     @@Name: NUMBER
22     @@XMLType: NMTOKEN
23     @@Description: [0-9]+
24     @Type:
25     @@Name: NUMBERS
26     @@XMLType: CDATA
27     @@Description: [NUMBER *("," NUMBER)]
28    
29     @Type:
30     @@Name: DAY
31     @@XMLType: NMTOKEN
32     @@Description: "1" / "2" / ... / "31"
33     @Type:
34     @@Name: MONTH
35     @@XMLType:
36     (January|February|March|April|May|June|July
37     |August|September|October|November|December)
38     @@Description: 'January' / 'February' / ... / 'December'
39     @Type:
40     @@Name: YEAR
41     @@XMLType: NMTOKEN
42     @@Description: 4DIGIT
43    
44     @Type:
45     @@Name:
46     :URI
47     @@XMLType: CDATA
48     @@Description: URI Reference
49    
50     @Type:
51     @@Name: ATEXT
52     @@XMLType: CDATA
53     @@Description: [U+0020-U+007E]+ (attribute value)
54     @Type:
55     @@Name: CTEXT
56     @@XMLType: #PCDATA
57     @@Description: [U+0020-U+007E]+ (content of element)
58     @Type:
59     @@Name: TEXT
60     @@XMLType: #PCDATA
61     @@Description: *CHAR (content of mixed context element)
62    
63     @Type:
64     @@Name: country
65     @@XMLType: #PCDATA
66     @@Description: should be a two-letter code from ISO 3166
67    
68     @Type:
69 wakaba 1.2 @@Name: list-style
70     @@XMLType: (numbers|symbols|hanging|empty)
71    
72     @Type:
73     @@Name: series-name
74     @@XMLType: CDATA
75     @@Description: 'RFC' / ...
76    
77     @Type:
78 wakaba 1.1 @@Name: truefalse
79     @@XMLType: (true|false)
80    
81     Attribute:
82     @Attribute:
83     @@Name: anchor
84    
85     @@Attribute:
86     @@@Name: "anchor"
87     @@@Type: "ID"
88 wakaba 1.2 @@@Description: Cross-referencing with the xref element
89 wakaba 1.1
90     @Attribute:
91     @@Name: abbrev
92    
93     @@Attribute:
94     @@@Name: "abbrev"
95     @@@Type: ATEXT
96 wakaba 1.2
97     @Attribute:
98     @@Name: section-title
99    
100     @@Attribute:
101     @@@Name: "title"
102     @@@Type: ATEXT
103     @@@Default: #REQUIRED
104    
105     @Attribute:
106     @@Name: target-uri
107    
108     @@Attribute:
109     @@@Name: "target"
110     @@@Type:
111     :URI
112 wakaba 1.1
113     Module:
114     @Name: Block Structual
115     @ID: blkstruct
116    
117     @Element:
118     @@Name: section
119     @@Content:
120     ($:Block.mix)*
121    
122     @@Attribute:
123     @@@ref: anchor
124 wakaba 1.2 @@@ref: section-title
125     @@Description:
126     A section of the document
127 wakaba 1.1
128     @Element:
129     @@Name: t
130     @@Content:
131     (
132     $TEXT.datatype
133     | $list
134     | $:Inline.mix
135     | vspace
136     $blockcontent
137 wakaba 1.2 $t-figure
138 wakaba 1.1 )*
139    
140     @@Attribute:
141     @@@Attribute:
142     @@@@Name: "hangText"
143     @@@@Type: ATEXT
144    
145     @Element:
146     @@Name: vspace
147     @@Content: "EMPTY"
148    
149     @@Attribute:
150     @@@Attribute:
151     @@@@Name: "blankLines"
152     @@@@Type: NUMBER
153     @@@@Default: "0"
154 wakaba 1.2 @@@@Description:
155     A physical linebreak is specified by "0".
156 wakaba 1.1
157     @Element:
158     @@Name: abstract
159     @@Content: (t)+
160    
161     @Element:
162     @@Name: note
163     @@Content: (t)+
164    
165     @@Attribute:
166     @@@Attribute:
167     @@@@Name: "title"
168     @@@@Type: ATEXT
169     @@@@Default: #REQUIRED
170 wakaba 1.2 @@Description:
171     In general, the note element contains text from the IESG
172 wakaba 1.1
173     @Element:
174     @@Name: list
175     @@Content: (t)+
176    
177     @@Attribute:
178     @@@Attribute:
179     @@@@Name: "style"
180 wakaba 1.2 @@@@Type: list-style
181     # @@@@Default: "empty"
182     @@@@Description:
183     Default value is inherited from parent list, if any, or "empty".
184     (DTD shown in RFC 2629 is incorrect.)
185 wakaba 1.1
186     Module:
187     @Name: Figure
188     @ID: figure
189    
190     @Element:
191     @@Name: figure
192     @@Content:
193     (
194     preamble?,
195     artwork,
196     postamble?
197     )
198     @@Attribute:
199     @@@ref: anchor
200     @@@Attribute:
201     @@@@Name: "title"
202     @@@@Type: ATEXT
203     @@@@Default: ""
204    
205     @Element:
206     @@Name: preamble
207     @@Content:
208     (
209     $TEXT.datatype
210     | $:Inline.mix
211     $blockcontent
212     )*
213    
214     @Element:
215     @@Name: postamble
216     @@Content:
217     (
218     $TEXT.datatype
219     | $:Inline.mix
220     $blockcontent
221     )*
222    
223     @Element:
224     @@Name: artwork
225     @@Content: ($TEXT.datatype)*
226     @@Attribute:
227     @@@Attribute:
228     @@@@Name:
229     "xml:space"
230     @@@@Type: "(default|preserve)"
231     @@@@Default: "preserve"
232 wakaba 1.2 @@Description: Contains "ASCII artwork"
233 wakaba 1.1
234     Module:
235     @Name: Metainformational
236     @ID: metainfo
237    
238     @Element:
239     @@Name: title
240     @@Content: $metaterm.content
241     @@Attribute:
242     @@@ref: abbrev
243 wakaba 1.2 @@Description:
244     The title of the document
245     \
246     abbrev should also be provided if the title is more than 42 characters
247 wakaba 1.1
248     @Element:
249     @@Name: author
250     @@Content:
251     (
252     organization,
253     address?
254     )
255     @@Attribute:
256     @@@Attribute:
257     @@@@Name: "initials"
258     @@@@Type: ATEXT
259     @@@Attribute:
260     @@@@Name: "surname"
261     @@@@Type: ATEXT
262     @@@Attribute:
263     @@@@Name: "fullname"
264     @@@@Type: ATEXT
265 wakaba 1.2 @@Description:
266     A document author
267     \
268     Attributes initials, surname and fullname must be present
269     if the author is a person
270 wakaba 1.1
271     @Element:
272     @@Name: organization
273     @@Content: $metaterm.content
274     @@Attribute:
275     @@@ref: abbrev
276    
277     @Element:
278     @@Name: address
279     @@Content:
280     (
281     postal?,
282     phone?,
283     facsimile?,
284     email?,
285     uri?
286     )
287    
288     @Element:
289     @@Name: postal
290     @@Content:
291     (
292     street+,
293     (
294     city
295     | region
296     | code
297     | country
298     )*
299     )
300     @@Description:
301 wakaba 1.2 At most one of each the city, region, code, and country
302 wakaba 1.1 elements may be present
303    
304     @Element:
305     @@Name: street
306     @@Content: $metaterm.content
307     @Element:
308     @@Name: city
309     @@Content: $metaterm.content
310     @Element:
311     @@Name: region
312     @@Content: $metaterm.content
313 wakaba 1.2 @@Description: State or province
314 wakaba 1.1 @Element:
315     @@Name: code
316     @@Content: $metaterm.content
317 wakaba 1.2 @@Description: Zipcode or postal code
318 wakaba 1.1 @Element:
319     @@Name: country
320     @@Content: ($country.datatype)
321 wakaba 1.2 @@Description:
322     The value should be a two-letter code from ISO 3166
323 wakaba 1.1
324     @Element:
325     @@Name: phone
326     @@Content: $metaterm.content
327     @Element:
328     @@Name: facsimile
329     @@Content: $metaterm.content
330     @Element:
331     @@Name: email
332     @@Content: $metaterm.content
333     @Element:
334     @@Name: uri
335     @@Content: $metaterm.content
336    
337     @Element:
338     @@Name: date
339     @@Content: "EMPTY"
340     @@Attribute:
341     @@@Attribute:
342     @@@@Name: "day"
343     @@@@Type: DAY
344     @@@Attribute:
345     @@@@Name: "month"
346     @@@@Type: MONTH
347     @@@@Default: #REQUIRED
348     @@@Attribute:
349     @@@@Name: "year"
350     @@@@Type: YEAR
351     @@@@Default: #REQUIRED
352 wakaba 1.2 @@Description:
353     The publication date of the document
354 wakaba 1.1
355     @Element:
356     @@Name: area
357     @@Content: $metaterm.content
358 wakaba 1.2 @@Description:
359     A general category for the document (e.g., one of "Applications",
360     "General", "Internet", "Management", "Operations", "Routing",
361     "Security", "Transport", or "User")
362 wakaba 1.1 @Element:
363     @@Name: workgroup
364     @@Content: $metaterm.content
365 wakaba 1.2 @@Description:
366     The IETF working groups that produced the document
367 wakaba 1.1
368     @Element:
369     @@Name: keyword
370     @@Content: $metaterm.content
371 wakaba 1.2 @@Description: Useful search terms
372 wakaba 1.1
373     @Element:
374     @@Name: seriesInfo
375     @@Content: "EMPTY"
376     @@Attribute:
377     @@@Attribute:
378     @@@@Name: "name"
379 wakaba 1.2 @@@@Type: series-name
380 wakaba 1.1 @@@@Default: #REQUIRED
381 wakaba 1.2 @@@@Description: The document series
382 wakaba 1.1 @@@Attribute:
383     @@@@Name: "value"
384     @@@@Type: ATEXT
385     @@@@Default: #REQUIRED
386 wakaba 1.2 @@@@Description: Series entry
387 wakaba 1.1
388     Module:
389     @Name: Reference
390     @ID: reference
391    
392     @Element:
393     @@Name: references
394     @@Content: (reference+)
395 wakaba 1.2 @@Description:
396     The document's bibliography
397 wakaba 1.1
398     @Element:
399     @@Name: reference
400     @@Content:
401     (
402     front,
403     seriesInfo*
404     )
405     @@Attribute:
406     @@@ref: anchor
407 wakaba 1.2 @@@ref: target-uri
408 wakaba 1.1
409     @Element:
410     @@Name: xref
411     @@Content: ($CTEXT.datatype)*
412     @@Attribute:
413     @@@Attribute:
414     @@@@Name: "target"
415     @@@@Type: "IDREF"
416     @@@@Default: #REQUIRED
417     @@@Attribute:
418     @@@@Name: "pageno"
419     @@@@Type: truefalse
420     @@@@Default: "false"
421 wakaba 1.2 @@Description: Cross-reference sections, figures, tables, and references
422 wakaba 1.1 @Element:
423     @@Name: eref
424     @@Content: ($CTEXT.datatype)*
425     @@Attribute:
426     @@@Attribute:
427     @@@@Name: "target"
428     @@@@Type:
429     :URI
430     @@@@Default: #REQUIRED
431 wakaba 1.2 @@Description: Reference external documents
432 wakaba 1.1
433     @Element:
434     @@Name: iref
435     @@Content: "EMPTY"
436     @@Attribute:
437     @@@Attribute:
438     @@@@Name: "item"
439     @@@@Type: ATEXT
440     @@@@Default: #REQUIRED
441 wakaba 1.2 @@@@Description: The primary key the information is stored under
442 wakaba 1.1 @@@Attribute:
443     @@@@Name: "subitem"
444     @@@@Type: ATEXT
445     @@@@Default: ""
446 wakaba 1.2 @@@@Description: The secondary key
447     @@Description: Indexing of text
448 wakaba 1.1
449     Module:
450     @ID: struct
451    
452     @Element:
453     @@Name: rfc
454     @@Content:
455     (
456     front,
457     middle,
458     back?
459     )
460     @@Attribute:
461     @@@Attribute:
462     @@@@Name: "number"
463     @@@@Type: NUMBER
464     @@@Attribute:
465     @@@@Name: "obsoletes"
466     @@@@Type: NUMBERS
467     @@@@Default: ""
468     @@@Attribute:
469     @@@@Name: "updates"
470     @@@@Type: NUMBERS
471     @@@@Default: ""
472     @@@Attribute:
473     @@@@Name: "category"
474     @@@@Type: "(std|bcp|info|exp|historic)"
475     @@@@Default: "info"
476     @@@Attribute:
477     @@@@Name: "seriesNo"
478     @@@@Type: NUMBER
479     @@@Attribute:
480     @@@@Name: "ipr"
481     @@@@Type: "(full2026|noDerivativeWorks2026|none)"
482     @@@Attribute:
483     @@@@Name: "docName"
484     @@@@Type: ATEXT
485 wakaba 1.2 @@@@Description:
486     The document (not file) name associated with this Internet-Draft
487 wakaba 1.1
488     @Element:
489     @@Name: front
490     @@Content:
491     (
492     $front-title,
493     author+,
494     date,
495     area*,
496     workgroup*,
497     keyword*,
498     abstract?,
499     note*
500     )
501    
502     @Element:
503     @@Name: middle
504     @@Content: (section)+
505    
506     @Element:
507     @@Name: back
508     @@Content:
509     (
510     references*,
511     section*
512     )

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24