日期:2014-05-17  浏览次数:20845 次

如何读这个XML
<xml   xmlns:s= 'uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882 '
xmlns:dt= 'uuid:C2F41010-65B3-11d1-A29F-00AA00C14882 '
xmlns:rs= 'urn:schemas-microsoft-com:rowset '
xmlns:z= '#RowsetSchema '>
<s:Schema   id= 'RowsetSchema '>
<s:ElementType   name= 'row '   content= 'eltOnly '   rs:updatable= 'true '>
<s:AttributeType   name= 'id '   rs:number= '1 '   rs:maydefer= 'true '   rs:writeunknown= 'true '   rs:basetable= 'Relation '
  rs:basecolumn= 'id '   rs:keycolumn= 'true '   rs:autoincrement= 'true '>
<s:datatype   dt:type= 'int '   dt:maxLength= '4 '   rs:precision= '10 '   rs:fixedlength= 'true '/>
</s:AttributeType>
<s:AttributeType   name= 'EmployeeNo '   rs:number= '2 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'EmployeeNo '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:AttributeType   name= 'Relation '   rs:number= '3 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'Relation '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:AttributeType   name= 'RelationPeopleName '   rs:number= '4 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'RelationPeopleName '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:AttributeType   name= 'RelationPeopleAge '   rs:number= '5 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'RelationPeopleAge '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:AttributeType   name= 'RelationPeopleFactory '   rs:number= '6 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'RelationPeopleFactory '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:AttributeType   name= 'RelationPeopleSalaryDute '   rs:number= '7 '   rs:nullable= 'true '   rs:maydefer= 'true '   rs:writeunknown= 'true '
  rs:basetable= 'Relation '   rs:basecolumn= 'RelationPeopleSalaryDute '>
<s:datatype   dt:type= 'string '   dt:maxLength= '50 '/>
</s:AttributeType>
<s:extends   type= 'rs:rowbase '/>
</s:ElementType>
</s:Schema>
<rs:data>
<z:row   id= '49 '   EmployeeNo= '1000 '   Relatio