one page one my website displays content from database. Which are searched by two sting. How should I write the URL node. If I Writes: <url href="http://www.example.com/stats?q=name[B]&a=age[/B]" /> Code (markup): It displays error message at &a=age Please help me.
For a valid google sitemap just use pure urls, like http://www.xxx..com/123.htm, with the urls separated by a newline.
You can read about the simpler text option here: If you want to stick with the XML format, make sure that you entity-escape your urls: