What's the fastest/one-liner way to print the current nodes xpath, or just "path/to/node", in Ruby with Nokogiri?
So this:
<nodeA>
<nodeB>
<nodeC/>
</nodeB>
</nodeA>
to this (say we've gone down to nodeC by processing xml.children.each, etc...):
"nodeA/nodeB/nodeC"