MCPcopy Create free account
hub / github.com/beevik/etree / Document

Struct Document

etree.go:233–237  ·  view source on GitHub ↗

A Document is a container holding a complete XML tree. A document has a single embedded element, which contains zero or more child tokens, one of which is usually the root element. The embedded element may include other children such as processing instruction tokens or character data tokens. The do

Source from the content-addressed store, hash-verified

231// A document also contains read and write settings, which influence the way
232// the document is deserialized, serialized, and indented.
233type Document struct {
234 Element
235 ReadSettings ReadSettings
236 WriteSettings WriteSettings
237}
238
239// An Element represents an XML element, its attributes, and its child tokens.
240type Element struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected