per XML-Definition, if you have more < ACCOUNT>s you need
a surrounding tag f.e. < ACCOUNTS> around all the <
if you have that, you can go "into" the child, and you can
while() over the ->next nodes.
EDITH: i suppose you use the DOM-modell. But if you have many
(!) < ACCOUNT>s, you should swith to SAX for memory reasons.
DOM builds a complete (M)apping of the (D)ocument to (O)bjects in
EDITH 2: if you have to find a special value you should consider
to put the key-value (account_no?) into an attribute like <
ACCOUNT no="123"> < NAME>< XYZ> < STATE>FL<
/STATE> < /ACCOUNT>