i have a xml configuration file like this:
how i get the config of the table user?It seems that i can only access the
user table config by index (here is 0),but how can i know that index?
<database>
  <tables>
    <table name="user">
      <fields>
        <field>
          <name>uid</name>
          <type>long</type>
        </field>
        <field>
          <name>uname</name>
          <type>java.lang.String</type>
        </field>
      </fields>
    </table>
    <table name="address">
      <fields>
        <field>
          <name>docid</name>
          <type>long</type>
        </field>
        <field>
          <name>name</name>
          <type>java.lang.String</type>
        </field>
        <field>
          <name>version</name>
          <type>int</type>
        </field>
      </fields>
    </table>
  </tables>
</database>

--
View this message in context: 
http://www.nabble.com/-configuration-how-i-get-the-index-t1366159.html#a3663113
Sent from the Commons - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to