GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlTransformer Class / BodyConsumesChildElements Property
In This Topic
    BodyConsumesChildElements Property
    In This Topic
    Gets or sets whether ConsumeBody should iterate over all of the child elements of this XML node, calling ConsumeObject for each one, and passing the result to ConsumeChild.
    Syntax
    public bool BodyConsumesChildElements {get; set;}

    Property Value

    The initial value is false.
    Remarks

    See the documentation for ConsumeBody and ConsumeChild.

    Note that this property only affects consumption. Typically if you are working with a simple (non-subgraph) node that contains some ports, you will also want to set the GeneratesPortsAsChildElements property to true and make sure a transformer is registered for the port type(s), so that child elements are generated for the ports.

    See Also