MCPcopy Create free account
hub / github.com/antchfx/xmlquery / SelectElements

Method SelectElements

query.go:14–16  ·  view source on GitHub ↗

SelectElements finds child elements with the specified name.

(name string)

Source from the content-addressed store, hash-verified

12
13// SelectElements finds child elements with the specified name.
14func (n *Node) SelectElements(name string) []*Node {
15 return Find(n, name)
16}
17
18// SelectElement finds child elements with the specified name.
19func (n *Node) SelectElement(name string) *Node {

Callers 1

TestSelectElementFunction · 0.80

Calls 1

FindFunction · 0.85

Tested by 1

TestSelectElementFunction · 0.64