hi
I am trying to create a HashMap of key-value pairs by reading the XML file
using xmlbeans
sample of the xml file is...
<name>amit</name>
<defaultEmailAddress>[EMAIL PROTECTED]</defaultEmailAddress>
...
I am able to get the values of the elment using the Document interface
generated by scomp utility...
ie i am able to extract 'amit' '[EMAIL PROTECTED]' from the DTOs..
but i also want to extract the names of the elements ie 'name' and
'defaultEmailAddress' from the DTO/XML, so that i can populate my hashmap - 
'name' as the key and 'amit' as the value and soon...
Need some help on it!!
siva
-- 
View this message in context: 
http://www.nabble.com/reading-xml-elements-names-tf2316814.html#a6443986
Sent from the Xml Beans - User mailing list archive at Nabble.com.


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

Reply via email to