MCPcopy Create free account

hub / github.com/beevik/etree / types & classes

Types & classes46 in github.com/beevik/etree

↓ 4 callersTypeAliasErrPath
ErrPath is returned by path functions when an invalid etree path is provided.
path.go:96
↓ 1 callersTypeAliaserrorResult
path_test.go:61
StructAttr
An Attr represents a key-value attribute within an XML element.
etree.go:249
StructCharData
CharData may be used to represent simple text data or a CDATA section within an XML document. The Data property should never be modified directly; use
etree.go:269
StructComment
A Comment represents an XML comment.
etree.go:277
StructDirective
A Directive represents an XML directive.
etree.go:284
StructDocument
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 whi
etree.go:233
StructElement
An Element represents an XML element, its attributes, and its child tokens.
etree.go:240
StructIndentSettings
IndentSettings determine the behavior of the Document's Indent* functions.
etree.go:146
StructPath
* A Path is a string that represents a search path through an etree starting from the document root or an arbitrary element. Paths are used with the E
path.go:91
StructProcInst
A ProcInst represents an XML processing instruction.
etree.go:291
StructReadSettings
ReadSettings determine the default behavior of the Document's ReadFrom* functions.
etree.go:41
InterfaceToken
A Token is an interface type used to represent XML elements, character data, CDATA sections, XML comments, XML directives, and XML processing instruct
etree.go:214
StructWriteSettings
WriteSettings determine the behavior of the Document's WriteTo* functions.
etree.go:111
InterfaceWriter
Writer is the interface that wraps the Write* functions called by each token type's WriteTo function.
etree.go:205
TypeAliascharDataFlags
charDataFlags are used with CharData tokens to store additional settings.
etree.go:256
Structcompiler
A compiler generates a compiled path from a path string.
path.go:220
TypeAliasescapeMode
helpers.go:323
Interfacefilter
A filter pares down a list of candidate XML elements based on a path filter in [brackets].
path.go:162
StructfilterAttr
filterAttr filters the candidate list for elements having the specified attribute.
path.go:487
StructfilterAttrVal
filterAttrVal filters the candidate list for elements having the specified attribute with the specified value.
path.go:510
StructfilterChild
filterChild filters the candidate list for elements having a child element with the specified tag.
path.go:572
StructfilterChildText
filterChildText filters the candidate list for elements having a child element with the specified tag and text.
path.go:596
StructfilterFunc
filterFunc filters the candidate list for elements satisfying a custom boolean function.
path.go:533
StructfilterFuncVal
filterFuncVal filters the candidate list for elements containing a value matching the result of a custom function.
path.go:552
StructfilterPos
filterPos filters the candidate list, keeping only the candidate at the specified index.
path.go:464
FuncTypeindentFunc
func(depth int) string
etree.go:183
StructlowercaseCharsetReader
etree_test.go:452
Structnode
A node represents an element and the remaining path segments that should be applied against it by the pather.
path.go:168
Structpather
A pather is helper object that traverses an element tree using a Path object. It collects and deduplicates all elements matching the path query.
path.go:176
Structqueue
helpers.go:37
FuncTypereadFunc
func(doc *Document, s string) error
etree_test.go:1977
Structsegment
A segment is a portion of a path between "/" characters. It contains one selector and zero or more [filters].
path.go:142
StructselectChildren
selectChildren selects the element's child elements into the candidate list.
path.go:416
StructselectChildrenByTag
selectChildrenByTag selects into the candidate list all child elements of the element having the specified tag.
path.go:445
StructselectDescendants
selectDescendants selects all descendant child elements of the element into the candidate list.
path.go:428
StructselectParent
selectParent selects the element's parent into the candidate list.
path.go:406
StructselectRoot
selectRoot selects the element's root node.
path.go:395
StructselectSelf
selectSelf selects the current element into the candidate list.
path.go:388
Interfaceselector
A selector selects XML elements for consideration by the path traversal.
path.go:156
Structstack
helpers.go:13
Structtest
path_test.go:56
StructxmlPeekReader
xmlPeekReader implements a proxy reader that counts the number of bytes read from its encapsulated reader. It also allows the caller to "peek" at the
helpers.go:117
InterfacexmlReader
xmlReader provides the interface by which an XML byte stream is processed and decoded.
helpers.go:87
StructxmlSimpleReader
xmlSimpleReader implements a proxy reader that counts the number of bytes read from its encapsulated reader.
helpers.go:94
StructxmlWriter
xmlWriter implements a proxy writer that counts the number of bytes written by its encapsulated writer.
helpers.go:223