[UPHPU] php + xml noob

Kenneth Burgener mail at kennethburgener.com
Thu Dec 16 20:58:06 MST 2004

You could use an xpath or you could cycle through the elements until you
come through the one you want.

They have a couple of examples here:


-----Original Message-----
From: uphpu-bounces at uphpu.org [mailto:uphpu-bounces at uphpu.org]On Behalf
Of Steve Dibb
Sent: Thursday, December 16, 2004 7:58 PM
To: uphpu at uphpu.org
Subject: [UPHPU] php + xml noob

Has anyone here worked with parsing XML files in PHP before?

Basically what I have is an XML file I want to get a value out of one of
the tags, and I have *no* idea where to start.  I'm looking at the XML
pages, and I'm a bit lost.

All I'm trying to do is get "var" out of a structure similar to shis:


Is there any _easy_ way to do that?  I hope?




The Nephite Network


UPHPU mailing list
UPHPU at uphpu.org
IRC: #uphpu on irc.freenode.net

Sponsored by hostinginferno.com!

More information about the UPHPU mailing list