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

Function WithOutputSelf

node.go:77–81  ·  view source on GitHub ↗

WithOutputSelf configures the Node to print the root node itself

()

Source from the content-addressed store, hash-verified

75
76// WithOutputSelf configures the Node to print the root node itself
77func WithOutputSelf() OutputOption {
78 return func(oc *outputConfiguration) {
79 oc.printSelf = true
80 }
81}
82
83// WithEmptyTagSupport empty tags should be written as <empty/> and
84// not as <empty></empty>

Callers 6

TestParseFunction · 0.85
testOutputXMLFunction · 0.85
OutputXMLMethod · 0.85
WriteMethod · 0.85

Calls

no outgoing calls

Tested by 4

TestParseFunction · 0.68
testOutputXMLFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…