From: <ma...@sh...> - 2007-01-16 14:13:16
|
I'm new to VTD-XML, and I was wondering if the following wml could be converted to java objects using this technology: <?xml version="1.0" encoding="UTF-8"?> <response> <responseHeader> <status>0</status><QTime>1</QTime> </responseHeader> <result numFound="2" start="0"> <doc> <str name="id">MA147LL/A</str> <str name="name">Apple 60 GB iPod Black</str> </doc> <doc> <str name="id">EN7800GTX/2DHTV/256M</str> <str name="name">ASUS Extreme N7800GTX</str> </doc> </result> </response> Important are the <str name=" tags, as you see I need to map them to object fields based upon their attribute name, can this be done? Grtz |