Writing Hashtable data into text file

  • Thread starter Thread starter Swapnil
  • Start date Start date
S

Swapnil

hi,
In One application i m using Hashtabe to read an xml. After reading xml i
want to write that hashtable data into text file. Hashtable is nested (two
hashtable). How to do that? How can i retrive the hashtable data.
Someone Plz explain with example.
 
Swapnil said:
In One application i m using Hashtabe to read an xml. After reading xml i
want to write that hashtable data into text file. Hashtable is nested (two
hashtable). How to do that? How can i retrive the hashtable data.
Someone Plz explain with example.

Well, as pseudo code:

for each name/value pair in outer hashtable
{
for each name/value pair in the inner hashtable
(which is the outer value)
{

write out data
}
}
 
Back
Top