>Does this help
http://msdn2.microsoft.com/library/ms178426.aspx
Partly, and partly not. Is it possible to specify the file in at
run-time? The situation is that I have an admin site that is used by
people who use my e-commerce package. There is one admin site, and this
is used by everyone. They log in, and the user name is used to identify
the path to the root directory of their web site. I want to use that
path to load up their web.sitemap file.
I don't really want to add the sitemap files to the web.config file as
this means duplicating information, which is bound to cause problems. At
the moment, there is one config file per site, living in the App_Data
folder of the site. The admin site knows the path to each site, so it
can just pick up the config file, and anything else it wants from the
user site.
What I would really like is some way of telling the SiteMapDataSource
(or similar) at run-time which sitemap file to load. This seems to
simple and obvious, but I can't see how to do it.
Any further suggestions appreciated. Thanks again.
--
Alan Silver
(anything added below this line is nothing to do with me)