protected virtual void GenerateRootAttributes()
protected virtual void GenerateRootAttributes()
If Objects property value is a Northwoods.Go.GoDocument, and if there is a GoXmlBindingTransformer registered for that GoDocument
type, this calls GenerateAttributes on that transformer, passing it the Northwoods.Go.GoDocument. This provides an easy-to-define mechanism for binding document properties with root element attributes.
Otherwise, this does nothing. You may want to define namespace attributes, as is shown in the description for SetNamespaceUri, by calling SetNamespaceUri before this method is called. The Generate
methods will call WriteNamespaceAttribute for each prefix/namespaceURI pair, just after calling GenerateRootElement, and just before calling this method.