的价值,我有以下XML架构:使用经典的ASP获取一个节点属性
<?xml version="1.0" encoding="utf-8"?>
<PageMapping>
<Applications>
<Application name="xxx">
<Page name='Default.aspx' IsCaptured = "true" >
<Control name="btnSearch" IsCaptured = "true"/>
<Control name="btnSave" IsCaptured = "true"/>
<Control name="btnClick" IsCaptured = "true"/>
</Page>
<Page name='Login.aspx' IsCaptured = "true">
<Control name="btnSearch" IsCaptured = "true"/>
</Page>
<Page name='Home.aspx' IsCaptured = "true" >
<Control name="btnSearch" IsCaptured = "true"/>
</Page>
<Page name='User.aspx' IsCaptured = "true" />
</Application>
</Applications>
</PageMapping>
使用ASP,我怎么会得到“名”和“IsCaptured”的价值?我尝试了各种不同的方法,但似乎没有任何工作。有任何想法吗?
我们需要更多的细节:这是本地XML文件的服务器上?或者它位于不同的机器/网站上? – 2011-12-20 09:06:47
此XML仅位于本地服务器 – subramani 2011-12-20 09:23:39
因此[Rory答案](http://stackoverflow.com/a/8573002/447356)应该是正确的然后.. – 2011-12-20 09:28:32