GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlWriter Class / DefaultNamespace Property
In This Topic
    DefaultNamespace Property
    In This Topic
    Gets or sets the "xmlns" attribute namespace to be defined for the root element.
    Syntax
    public string DefaultNamespace {get; set;}

    Property Value

    This defaults to null--no "xmlns" attribute is created for the root element.
    Remarks
    If you want to specify a default namespace, you will need to set this property, along with the RootElementName, before calling Generate.
    See Also