3

Is it possible to get line number from xml_node in pugixml?

e.g.

<?xml version="1.0" encoding="UTF-8" ?>
<resources>
    <test />
</resources>

It should return '3' for "test".

DejaVu
  • 155
  • 8
  • 1
    You can use node.offset_debug and code from this question http://stackoverflow.com/questions/21003471/convert-pugixmls-result-offset-to-column-line – zeuxcg Jan 22 '15 at 04:35

0 Answers0