Hi again,yes exactly, I am trying to implement some application which has an XML docuent and this application is supposed to answer XQuery queries. So to answer these queries my application has first to parse the queries themselves.So I need some help in this portion of the application. Hoping u got my idea.