Basically you want to :
# create a layout for the XML output (layout.ini)
# overwrite the "Content-Type" header for this layout so that the ouput is presented as XML (layout.ini) # create templates to produce the desired output
I wrote about this here http://suffandnonsense.blogspot.com/2007/05/easy-web-services-with-ez-publish.html While it doesn't cover what you are asking 100% is should give you enough to do what you want.
and i created a override file for pagelayout which is <b> xml_pagelayout.tpl </b> (i dunno wheather it is needed or not) which is loaded with sample xml tags
2. With the help of one earlier forum i have changed the article.tpl file in full XML format (Article - Full view for flash step)
But i dunno how to make it run successfully
Kindly explain a bit more about this point # create templates to produce the desired output