Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

Enoch was right!
Enjoy the last years of Rome.

Comment on Re^3: RegEx Against Arbitrary XML Tags

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2015-11-30 01:46 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (756 votes), past polls