posted 16 years ago
hi all
Actually i dont know where to put exactly a XML related question, so lastly i put it into this section
Her is my problem:
i want to put a XML files element name and its encloses text data as 'Key , Value ' pair in HashMap instance. I wrote a code but , not able to do exactly as above..
here is my try
list is my instance of HashMap class.
when i iterate thru map , i got following result :
[output]
=9679623159ec4a51a9
Key=s
ROOT=Request
[/output]
my xml file is :
[xml]
<Request>
<Key>9679623159ec4a51a9</Key>
</Request>
[/xml]
Thanks in advance