GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlWriter Class / WriteNamespaceAttribute Method
must not be a null string
must not be a null string
In This Topic
    WriteNamespaceAttribute Method
    In This Topic
    Write an "xmlns:prefix" attribute for a namespace given by uri.
    Syntax
    public virtual void WriteNamespaceAttribute( 
       string prefix,
       string uri
    )

    Parameters

    prefix
    must not be a null string
    uri
    must not be a null string
    Remarks

    Namespaces are normally defined on the root element by calling SetNamespaceUri before calling one of the Generate methods. That will cause this method to be called to add the appropriate xmlns:prefix="uri" attributes to the root element.

    See Also