Is it possible to obtain the original file line number for an XML element in XML::Twig?
I'm in the process of writing a visual diff tool for XML files (for a specific application) and I'd like to be able to propogate changes from one file to the other. Using XML::SemanticDiff I can get line numbers that relate to differences between two XML files. I want to use that information to show the differences in a Tk::Tree widget, but to useful I have to be able to relate specific XML::Twig::Elt instances back to the original file line numbers.
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |