S
shapper
Hello,
I am trying to use an XPath to select siteMapNode nodes where
footer=true.
What I have is:
siteMapNode[@footer='true']
It is not working.
My XML document is:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap
xmlns = "http://schemas.microsoft.com/ASPNet/SiteMap-File-1.0" >
<siteMapNode>
<siteMapNode
url = "~/Default.aspx"
title = "Home"
description = "Desc1"
footer = "true" />
<siteMapNode
url = "~/Contacts.ASPx"
title = "Contactos"
description = "Desc2"
footer = "true" />
</siteMapNode>
</siteMap>
Could someone help me out?
Thanks,
Miguel
I am trying to use an XPath to select siteMapNode nodes where
footer=true.
What I have is:
siteMapNode[@footer='true']
It is not working.
My XML document is:
<?xml version="1.0" encoding="utf-8" ?>
<siteMap
xmlns = "http://schemas.microsoft.com/ASPNet/SiteMap-File-1.0" >
<siteMapNode>
<siteMapNode
url = "~/Default.aspx"
title = "Home"
description = "Desc1"
footer = "true" />
<siteMapNode
url = "~/Contacts.ASPx"
title = "Contactos"
description = "Desc2"
footer = "true" />
</siteMapNode>
</siteMap>
Could someone help me out?
Thanks,
Miguel