XML Parsing Issues?????

Hi i am Parsing my XML File using the Example Weather application…

Following Issues are raised regarding XML please help

  1. if tag Name Contains _(Underscore) then at the time of tag name Retrieving I got only String which is before the Underscore character.

eg if tag name in xml like then if i parse this then it will give me Tag name like satisfaction only it will neglect rest of part.

so at the time of comparison it shows mismatch.

any solution?

  1. How do i access this rank=“1” value in my xml parser?

  2. type is a keyword in lua?? i cant take this as tag Name?? [import]uid: 42171 topic_id: 9076 reply_id: 309076[/import]