jitteercota
New Member
I am trying to parse the file below. I want to print the id and name of each passenger. Can you give me code to parse it ?\[code\]<?xml version="1.0" encoding="utf-8"?><root xmlns:android="www.google.com"><passenger id = "001"><name>Tom Cruise</name></passenger><passenger id = "002"><name>Tom Hanks</name></passenger></root>\[/code\]