GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlWriter Class / Objects Property
In This Topic
    Objects Property (GoXmlWriter)
    In This Topic
    Gets or sets the collection of objects to be generated.
    Syntax
    public IEnumerable Objects {get; set;}

    Property Value

    This must be set before calling Generate(XmlWriter) or Generate.
    Remarks

    Caution: Northwoods.Go.GoNode implements ICollection, so if you set this property to refer to a node in your document, this writer will try to generate XML for the parts of your node, which is probably not what you intend.

    Caution: If you are generating tree-structured XML corresponding to a logically tree-structured graph of nodes and links, by making use of the GoXmlBindingTransformer.TreeStructured property, you will need to make sure that the collection that you assign to this property contains only the logical root nodes of the logical trees in your document. That transformer will automatically generate nested XML for the nodes corresponding to the tree-children of each node given in this collection property, and recursively through the whole tree. That will cause the generation of duplicate XML elements for every single logical node in your trees.

    See Also