MCPcopy Create free account
hub / github.com/amouat/diffxml / getXPath

Method getXPath

src/java/org/diffxml/diffxml/fmes/NodeOps.java:114–148  ·  view source on GitHub ↗

Calculates an XPath that uniquely identifies the given node. For text nodes note that the given node may only be part of the returned node due to coalescing issues; use an offset and length to identify it unambiguously. @param n The node to calculate the XPath for. @return The XPath to the node as

(final Node n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

testXPathForNodeMethod · 0.95
insertMethod · 0.95
deleteMethod · 0.95
moveMethod · 0.95
updateMethod · 0.95
updateAttributesMethod · 0.95

Calls 1

getXPathMethod · 0.95

Tested by 2

testXPathForNodeMethod · 0.76