Using ASP.NET with C#, we can create a Sitemap with XML that we can use with Google, Bing, and other search engines and Data-hungry sites to show updated content to your visitors. With XML, there are no limits to what you can accomplish once you get started.
When porting over the
Classic ASP Code«, I encountered a slite problem with displaying the indented columns or rows of text. After spending a few hours googling, I found a post on
Stack Overflow« and the comment made by D. Kermott for the use of the [
XMP] tag. Once I wrapped the XML code with XMP tags, it all worked.
Never give up, continue to dig, and you will find the answers you seek.
For other versions of this code
VB.NET Version of this code«
Classic ASP Code«