File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / libxml2 / test / relaxng / choice0.rng
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:37:59 2012 UTC (12 years, 7 months ago) by misho
Branches: libxml2, MAIN
CVS tags: v2_9_1p0, v2_9_1, v2_8_0p0, v2_8_0, v2_7_8, HEAD
libxml2

    1: <?xml version="1.0"?>
    2: <element xmlns="http://relaxng.org/ns/structure/1.0" name="device">
    3:     <choice>
    4:       <group>
    5: 	<attribute name="link">
    6: 	  <value>ethernet</value>
    7: 	</attribute>
    8: 	<optional>
    9: 	  <element name="ethernet-element">
   10: 	    <text/>
   11: 	  </element>
   12: 	</optional>
   13:       </group>
   14:       <group>
   15: 	<attribute name="link">
   16: 	  <value>serial</value>
   17: 	</attribute>
   18: 	<optional>
   19: 	  <element name="serial-element">
   20: 	    <text/>
   21: 	  </element>
   22: 	</optional>
   23:       </group>
   24:     </choice>
   25: </element>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>