PDA

View Full Version : XMLReader implementation problem



dagarwal82
9 Aug 2010, 8:48 PM
Hi,



<my:Rooms>
<Room> Deepak Room </Room>
<Room> Dining Room </Room>
</my:Rooms>
How to read Room text here ?
ModelType type = new ModelType();
1) Does not work with
type.addRecordName("my:Rooms");
type.addField("Room") //Does not make sense I think and should be set as recordName (see below) 2)
2)Does not work with
type.addRecordName("Room"); //What field to be added now ?