views:

766

answers:

2

In the sitemap file, I have sitemap Node URL which have more than 1 query string, like...

<siteMapNode url="~/abc.aspx?m=2&c=2" title="title" description="" />

but I am getting error at '&'
how to handle multiple query string?

+2  A: 

Use &amp; instead of &. As this is XML, ampersands are among the characters which need an entity reference.

Rex M
Muhammad Akhtar
+2  A: 

You can use &amp; instead of & - ampersand.

Canavar
yes that's fine, thanks
Muhammad Akhtar