
<!-- This sample XMLBean uses the "old" XMLBeans format -->

<JavaBean CLASS="Player">
  <Properties>
    <Property NAME="Number">12</Property>
    <Property NAME="HighSchool">Eaton</Property>
    <!-- How smart does he have to be? -->
    <Property NAME="GradePointAverage">2.30</Property>
  
    <!-- Notice that the value for the properties "Name" and
      ==  "Stats" are themselves JavaBeans!
      == Notice also that comments in XML files look
      == just like comments in HTML files.
      -->
    <Property NAME="Name">
      <JavaBean CLASS="PersonName">
        <Properties>
          <Property NAME="First">Jonas</Property>
          <Property NAME="Last">Grumby</Property>
        </Properties>
      </JavaBean>
    </Property>
  
    <Stats>
          <Property NAME="Year">1997</Property>
          <Property NAME="AtBats">69</Property>
          <Property NAME="Runs">31</Property>
          <Property NAME="Hits"><!-- this property is in hex -->0x1e</Property>
          <Property NAME="HomeRuns">2</Property>
          <Property NAME="RunsBattedIn">15</Property>
          <Property NAME="strikeouts">
          <!-- Strikeouts are encrypted -->rw</Property>
    </Stats>

    <Property NAME="Grades">
      <JavaBean CLASS="Grades">
        <!-- This object knows how to read itself from a JavaBean, so
	  == it doesn't have to abide by the XML JavaBean grammar
	  == we've defined.
	-->
        <GRADE VALUE="A">Wood shop</GRADE>
        <GRADE VALUE="C">Senior English Literature Seminar</GRADE>
        <GRADE VALUE="A">Phys Ed</GRADE>
        <GRADE VALUE="B">Papier Mache</GRADE>
        <GRADE VALUE="C">Current Events</GRADE>
      </JavaBean>
    </Property>

  </Properties>
</JavaBean>
  