Search XML file contents

i have a XML file structure with many elements.  some elements have nested elements.  It is possible to search the contents/data between element tags of a XML file?

if so how?

a "detailed description" please!
LVL 16
ellandrdAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
RoonaanConnect With a Mentor Commented:
In PHP5 you can most likely use the simplexml class. First try and see if the string you are looking for is in the xml structure at all (using stristr or similar). Then use simplexml to find out where in the xml.

-r-
0
 
RoonaanCommented:
PHP4 or PHP5?

-r-
0
 
ellandrdAuthor Commented:
PHP5
0
 
ellandrdAuthor Commented:
?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.