Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: RegEx Against Arbitrary XML Tags

by Jenda (Abbot)
on Oct 20, 2011 at 14:11 UTC ( #932668=note: print w/ replies, xml ) Need Help??


in reply to Re^2: RegEx Against Arbitrary XML Tags
in thread RegEx Against Arbitrary XML Tags

The catch is that to know one element was deleted and a new one was added you need to know which attribute or subelement is the key. Which is a piece of information the diff doesn't have. For the same reason the diff engine cannot handle reordered elements the way you seem to want.

I do not think a generic solution is possible and it's hard to give you a specific solution as we do not know your XML.

Jenda
Enoch was right!
Enjoy the last years of Rome.


Comment on Re^3: RegEx Against Arbitrary XML Tags

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932668]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-09-02 18:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (29 votes), past polls