Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / XmlUtility Class / GetElementValue Method / GetElementValue(XmlElement,String,XmlNamespaceManager) Method
XML element to look into
XPath expression identifying the node to get value for
XML namespace to use
In This Topic
    GetElementValue(XmlElement,String,XmlNamespaceManager) Method
    In This Topic
    Gets text value from the given XmlElement for node specified by the given XPath expression
    Syntax
    public static string GetElementValue( 
       XmlElement element,
       string xpath,
       XmlNamespaceManager nsmgr
    )

    Parameters

    element
    XML element to look into
    xpath
    XPath expression identifying the node to get value for
    nsmgr
    XML namespace to use

    Return Value

    Text value for the required node
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also