By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,189 Members | 1,559 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,189 IT Pros & Developers. It's quick & easy.

Load XML file

P: n/a
Hello,

I am loading a xml file as follows:

docXML.Load(server.MapPath("MyFile.XML"))

However, instead of using server.MapPath("MyFile.XML") I want to load
the file using the siteMapProvider:

<providers>
<clear/>
<add
name = "SiteMapProvider"
siteMapFile = "~/MyFile.sitemap"
type = "System.Web.XmlSiteMapProvider" />

Is this possible?

Thanks,

Miguel

Oct 17 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.