With libxml2 we can use xmlGetLineNoto get the line number where node appears in the XML source file.
But how to get the symbol positions of a given element and a given attribute ? I need both start, and endpositions in the source XML file for both node and attribute.
Thank!
source
share