建立应用程序站点地图 示例的导航结构存放在Web.sitemap文件中,在下面你可以看到站点地图文件。Web.sitemap文件包含一个顶层的<siteMap>元素。 该提供程序使用XML文件(web.sitemap)中的数据,并根据数据返回SiteMapNode实例。 它的web.sitemap文件使用两种类型(隐式的和显式的)的本地化表达式来实现这种功能。 Web.sitemap的内容 <?xml version="1.0" encoding="utf-8" ? 示例使用的web.sitemap文件定义的大量带有URL值的节点都会被重映射。
web.sitemap的代码: ?xml version="1.0" encoding="utf-8" ?
PS:忘记了说明一点了:这些问题只有在用到web.sitemap地图里面才会出现这个情况的!!在VS2008里面就是正常的,但是在IIS虚拟服务器里面就不正常了! 地图XML信息如下: <?
type="Tencent.OA.RightWay.Web.Components.SmartSiteMapProvider, Tencent.OA.RightWay.Web" siteMapFile="Web.sitemap
<protocols/> <siteMap> <providers> <add siteMapFile="<em>web.sitemap</em>