home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / zypp / schema / xmlstore / patch.rng < prev    next >
Extensible Markup Language  |  2006-11-29  |  2KB  |  83 lines

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <grammar ns="http://www.novell.com/metadata/zypp/xml-store" xmlns="http://relaxng.org/ns/structure/1.0">
  3.   <include href="resolvable.rng"/>
  4.   <start>
  5.     <ref name="element-patch"/>
  6.   </start>
  7.   <define name="element-patch">
  8.     <element name="patch">
  9.       <ref name="patch"/>
  10.     </element>
  11.   </define>
  12.   <define name="element-message">
  13.     <element name="message">
  14.       <ref name="message"/>
  15.     </element>
  16.   </define>
  17.   <define name="message">
  18.     <ref name="resolvable-data"/>
  19.     <element name="text">
  20.       <text/>
  21.     </element>
  22.   </define>
  23.   <define name="element-script">
  24.     <element name="script">
  25.       <ref name="script"/>
  26.     </element>
  27.   </define>
  28.   <define name="script">
  29.     <ref name="resolvable-data"/>
  30.     <element name="do">
  31.       <text/>
  32.     </element>
  33.     <element name="undo">
  34.       <text/>
  35.     </element>
  36.   </define>
  37.   <define name="element-atom">
  38.     <element name="atom">
  39.       <ref name="atom"/>
  40.     </element>
  41.   </define>
  42.   <define name="atom">
  43.     <ref name="resolvable-data"/>
  44.   </define>
  45.   <define name="atoms">
  46.     <interleave>
  47.       <zeroOrMore>
  48.         <ref name="element-script"/>
  49.       </zeroOrMore>
  50.       <zeroOrMore>
  51.         <ref name="element-message"/>
  52.       </zeroOrMore>
  53.       <zeroOrMore>
  54.         <ref name="element-atom"/>
  55.       </zeroOrMore>
  56.     </interleave>
  57.   </define>
  58.   <define name="patch">
  59.     <ref name="resolvable-data"/>
  60.     <element name="id">
  61.       <text/>
  62.     </element>
  63.     <element name="timestamp">
  64.       <text/>
  65.     </element>
  66.     <element name="category">
  67.       <text/>
  68.     </element>
  69.     <element name="affects-package-manager">
  70.       <ref name="boolean"/>
  71.     </element>
  72.     <element name="reboot-needed">
  73.       <ref name="boolean"/>
  74.     </element>
  75.     <element name="interactive">
  76.       <ref name="boolean"/>
  77.     </element>
  78.     <element name="atoms">
  79.       <ref name="atoms"/>
  80.     </element>
  81.   </define>
  82. </grammar>
  83.