Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: RegEx Against Arbitrary XML Tags

by Anonymous Monk
on Oct 20, 2011 at 14:23 UTC ( #932675=note: print w/ replies, xml ) Need Help??


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

Use XML::Twig , default handler, you don't have to know the names of tags ahead of time

For arbitrary xml, comparing them by position , like regular diff utility, seems like a reasonable generic approach

If your target xml nodes have unique ID's, then its easy to find changed nodes, since their ID's don't change

See also diff output of XML::SemanticCompare


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://932675]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2015-07-04 11:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls