Parsing xml with multiple sub elements and fetching values in blackberry

Diter Rojug

New Member
I have been successful in using DOM Parser in parsing xml of format such\[code\] <Supertag> <Childtag> <A> 30 </A> <B> 40 </B> </Childtag> </Supertag>\[/code\]But is it possible to parse an xml of the form\[code\] <Supertag><TextSample text = "Hello" Time = "400" Duration = "240" Version = "1"/><TextSample text = "World" Time = "222" Duration = "55" Version = "2"/></Supertag>\[/code\]I want to fetch the values Hello World 400 240 55 etc....I am having trouble in using getElementByTagValue(" ");
 
Back
Top