troubleshooting Question

php script to compare yesterdays and todays node value of same xml file

Avatar of Shiva_Kumar
Shiva_Kumar asked on
PHP
3 Comments1 Solution479 ViewsLast Modified:
hi,

I have a XML file whose one of the node value changes every day once.  Now i need to script which can compare yesterdays and todays node value of the same xml file.  if they found to be same then i would assume that it is not updated.

here's what i am doing:

1. parsing the xml file to get todays node value.
2. i am keeping a downloaded copy of the same xml file from yesterday and parsing this xml file to compare todays and yesterdays node value.

Is there any better way performing this task.

Thanks
ASKER CERTIFIED SOLUTION
kevthedude

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros