Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Utility Namespace / XmlUtility Class / SetAttributeValue Method / SetAttributeValue(XmlNode,String,String) Method
XML document to set attribute value in
The name of the attribute to set value for
The value to set
In This Topic
    SetAttributeValue(XmlNode,String,String) Method
    In This Topic
    Sets value of the specified attribute in the given XML document
    Syntax
    public static void SetAttributeValue( 
       XmlNode xmlDoc,
       string attribute,
       string value
    )

    Parameters

    xmlDoc
    XML document to set attribute value in
    attribute
    The name of the attribute 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