GrandFather has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Obtain original file line number for an XML element in XML::Twig
by mirod (Canon) on Apr 04, 2006 at 06:24 UTC | |
by GrandFather (Saint) on Apr 04, 2006 at 11:15 UTC | |
by Anonymous Monk on Apr 05, 2006 at 03:49 UTC |