GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / StringAttr Method
the name of the attribute
the default value to return if the attribute is not present
In This Topic
    StringAttr Method
    In This Topic
    Return an attribute's string value.
    Syntax
    public string StringAttr( 
       string name,
       string def
    )

    Parameters

    name
    the name of the attribute
    def
    the default value to return if the attribute is not present

    Return Value

    The value of the attribute named by name; if the attribute is not present, this method returns the value of def.
    See Also