Thank zou verz much for zour reply.
Most probably I had described my prob in too perplexing way, which is why u got it wrong if the parsing itself is for question.
What i am trying to make is a php file, that would include the appropriate .xml file according to the value of the variable...