public static string GetElementValue( XmlElement element, string xpath, XmlNamespaceManager nsmgr, string defaultValue )
Parameters
- element
- XML element to look into
- xpath
- XPath expression identifying the node to get value for
- nsmgr
- XML namespace to use
- defaultValue
- The default value to return if the specified node could not be found
Return Value
Text value for the required node