Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / XmlUtility Class / SetElementValue Method / SetElementValue(XmlNode,String,String) Method
XML document to set value in
XPath expression identifying the node to set value for
The value to set
In This Topic
    SetElementValue(XmlNode,String,String) Method
    In This Topic
    Sets text value of the node specified by the given XPath expression in the given XML document
    Syntax
    public static void SetElementValue( 
       XmlNode xmlDoc,
       string xpath,
       string value
    )

    Parameters

    xmlDoc
    XML document to set value in
    xpath
    XPath expression identifying the node to set value for
    value
    The value to set
    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