这是我的web.sitemap<?xml version="1.0" encoding="utf-8" ?>
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
    <siteMapNode url="/~home.aspx" title="home"  description="">
        <siteMapNode url="~/temp.aspx" title="temp"  description="" roles="admin,guest" />
        <siteMapNode url="~/index.aspx" title="index"  description="" roles="admin" />
<siteMapNode url="~/sub/xtwh/RightsManage/RightsManage.aspx" title="RightsManage"  description="" roles="admin" />
<siteMapNode url="~/sub/xtwh/menu/menu.aspx" title="menu"  description="hahahhhaha" roles="admin" /> </siteMapNode>
</siteMap>
1.我想通过程序读出每个siteMapNode的roles的值,如何做呢?
2.我想通过程序更改每个siteMapNode的roles的值,如何做呢?
3.我想通过程序在web.sitemap增加一个如上格式的siteMapNode节点,如何做呢?补充,我没用微软自带的ROLE角色的管理,我想自己操纵web.sitemap进行权限控制以及菜单的动态添加
大峡帮忙!