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

Method LocalName

query.go:174–180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172}
173
174func (x *NodeNavigator) LocalName() string {
175 if x.attr != -1 {
176 return x.curr.Attr[x.attr].Name.Local
177 }
178 return x.curr.Data
179
180}
181
182func (x *NodeNavigator) Prefix() string {
183 if x.NodeType() == xpath.AttributeNode {

Callers 2

TestNavigatorFunction · 0.95
getCurrentNodeFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestNavigatorFunction · 0.76