Muhammad Akhtar
Muhammad Akhtar

Reputation: 52241

Sitemap Node URL not accepting Multiple querystring

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?

Upvotes: 3

Views: 3264

Answers (2)

Canavar
Canavar

Reputation: 48088

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

Upvotes: 7

Rex M
Rex M

Reputation: 144112

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

Upvotes: 2

Related Questions