GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlReader Class / Consume Method / Consume(XmlDocument) Method
an XmlDocument
In This Topic
    Consume(XmlDocument) Method
    In This Topic
    Consume an XmlDocument
    Syntax
    public virtual object Consume( 
       XmlDocument doc
    )

    Parameters

    doc
    an XmlDocument

    Return Value

    an object that represents the whole document, as returned by ConsumeRootElement
    Remarks
    After some initialization, this calls, in order, ConsumeInstructions, ConsumeRootElement, ConsumeRootAttributes, ConsumeRootBody, and ProcessDelayedObjects. This does not use a XmlReader or call LoadDOM, since an XmlDocument is supplied. UseDOM is set to true. You probably do not need to override this method.
    See Also