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

Struct Document

etree.go:234–238  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected