I want to find a simple element (Name) in an XML :
<ZoneContentMapping>
<ZoneContent>
<ContentId>72503</ContentId>
<StorefrontZoneId>Name</StorefrontZoneId>
<Type>ContentZone</Type>
</ZoneContent>
</ZoneContentMapping>
I am doing :
XmlNodeList objNode =
objXML.SelectNodes("ZoneContentMapping/ZoneContent[ContentId='72503']/StorefrontZoneId");
my Node count is always zero, where am I going wrong ?