troubleshooting Question

XML parser in php 4.3

Avatar of yarek
yarekFlag for France asked on
PHPProgramming Languages-Other
3 Comments1 Solution759 ViewsLast Modified:
I am trying to parse some XML in PHP 4.3 (not PHP5)
I have found some much info about XML in PHP that I am just lost

Globally what I need is:
giving a string
$str="
<root>
<users>
  <user>Mike</user>
  <user>Richard</user>
  <user>Ana</user>
</users>
</root>";
// here I need a function that echo :
user 1:Mike
user 1:Richard
user 1:Ana

I need a standard XML funtions or libraries (no string parsing) in PHP 4.3 or above

ASKER CERTIFIED SOLUTION
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