Changeset 5c560cb for BOOK/schema/clfs/0.1/rng/clfs.rnc
- 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.rnc
r5f27dfa r5c560cb 13 13 | refentry.class+ 14 14 | sect2+ 15 16 nav.class*17 } | clfs.sect 1.package )15 | simplesect+), 16 nav.class* 17 } | clfs.sect.package ) 18 18 } 19 19 … … 24 24 clfs.attrib.multilib 25 25 26 # Custom attributes unsed in this schema26 # Profiling Attributes 27 27 clfs.attrib.arch = attribute c:arch { text }? 28 28 clfs.attrib.bits = attribute c:bits { text }? 29 29 clfs.attrib.multilib = attribute c:multilib { "true" | "false" }? 30 clfs.attrib.multibuild = attribute c:multibuild { "true" | "false" }31 30 32 # Package element to be used inside of the chapter element 33 clfs.sect1.package = 31 # Inline Elements 32 33 clfs.inline = 34 (clfs.inline.strong | 35 clfs.inline.dirname | 36 clfs.inline.filename | 37 clfs.inline.command | 38 text)+ 39 40 clfs.inline.strong = 41 element c:strong { 42 clfs.inline 43 } 44 clfs.inline.dirname = 45 element c:dirname { 46 clfs.inline 47 } 48 clfs.inline.filename = 49 element c:filename { 50 clfs.inline 51 } 52 clfs.inline.command = 53 element c:command { 54 clfs.inline 55 } 56 57 # Block Elements 58 59 clfs.block.para = 60 element c:para { 61 clfs.inline 62 } 63 64 clfs.block.note = 65 element c:note { 66 clfs.block.para* 67 } 68 69 clfs.block.command = 70 element c:command { 71 clfs.attrib.arch, 72 clfs.attrib.bits, 73 clfs.attrib.multilib, 74 attribute c:nodump { 75 "true" | "false" 76 }?, 77 (element c:literal { text } | text)+ 78 } 79 80 # The Package 81 clfs.sect.package = 34 82 element c:package { 35 83 attribute id { text }, … … 37 85 clfs.attrib.bits, 38 86 clfs.attrib.multilib, 39 clfs.attrib.multibuild, 40 sect1 87 attribute c:multibuild { 88 "true" | "false" 89 }, 90 91 element c:title { text }, 92 element c:version { text }, 93 element c:description { clfs.inline }, 94 95 element c:install { 96 (clfs.block.para | 97 clfs.block.command | 98 clfs.block.note)+ 99 }+ 41 100 } 42 43 # Switch case to be used inside of a sect144 clfs.sect1.switch =45 element c:switch {46 element c:case {47 clfs.attrib.arch,48 clfs.attrib.bits,49 clfs.attrib.multilib50 }*,51 element c:default {52 empty53 }54 }
Note:
See TracChangeset
for help on using the changeset viewer.