Ignore:
Timestamp:
Apr 23, 2011, 4:53:20 PM (14 years ago)
Author:
Joe Ciccone <jciccone@…>
Children:
4f597816
Parents:
d10f81a
Message:

Parse inline items as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/schema/clfs/0.1/rng/clfs.rng

    rd10f81a r9db1668  
    7878  <!-- Inline Elements -->
    7979  <define name="clfs.inline">
    80     <oneOrMore>
     80    <zeroOrMore>
    8181      <choice>
    82         <ref name="clfs.inline.strong"/>
     82        <ref name="clfs.inline.literal"/>
     83        <ref name="clfs.inline.replaceable"/>
     84        <ref name="clfs.inline.application"/>
    8385        <ref name="clfs.inline.dirname"/>
    8486        <ref name="clfs.inline.filename"/>
     
    8688        <text/>
    8789      </choice>
    88     </oneOrMore>
    89   </define>
    90   <define name="clfs.inline.strong">
    91     <element name="c:strong">
     90    </zeroOrMore>
     91  </define>
     92  <define name="clfs.inline.common.attrib">
     93    <ref name="clfs.attrib.arch"/>
     94    <ref name="clfs.attrib.bits"/>
     95    <ref name="clfs.attrib.multilib"/>
     96  </define>
     97  <define name="clfs.inline.literal">
     98    <element name="c:literal">
     99      <ref name="clfs.inline.common.attrib"/>
     100      <ref name="clfs.inline"/>
     101    </element>
     102  </define>
     103  <define name="clfs.inline.replaceable">
     104    <element name="c:replaceable">
     105      <ref name="clfs.inline.common.attrib"/>
     106      <ref name="clfs.inline"/>
     107    </element>
     108  </define>
     109  <define name="clfs.inline.application">
     110    <element name="c:application">
     111      <ref name="clfs.inline.common.attrib"/>
    92112      <ref name="clfs.inline"/>
    93113    </element>
     
    95115  <define name="clfs.inline.dirname">
    96116    <element name="c:dirname">
     117      <ref name="clfs.inline.common.attrib"/>
    97118      <ref name="clfs.inline"/>
    98119    </element>
     
    100121  <define name="clfs.inline.filename">
    101122    <element name="c:filename">
     123      <ref name="clfs.inline.common.attrib"/>
    102124      <ref name="clfs.inline"/>
    103125    </element>
     
    105127  <define name="clfs.inline.command">
    106128    <element name="c:command">
     129      <ref name="clfs.inline.common.attrib"/>
    107130      <ref name="clfs.inline"/>
    108131    </element>
Note: See TracChangeset for help on using the changeset viewer.