We have a requirement to load a different XML sitemap for each user that logs in. This sitemap can come from a variety of sources (webservice, database, file) and has to be loaded at runtime.
I have designed it thus: When a user logs in, the custom XML for that user is fetched and put into Session. In the BuildSiteMap() method of my custom SiteMapProvider, I need to load the XML as the sitemap. I know how to do this node-by-node, but my question is this: If XMLSiteMapProvider can load the sitemap data from an XML file, can I make it do the same from an in-memory sitemap file (by transforming my XML to sitemap XML) ?
Will appreciate any comments, thanks.