OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
PHP and XML
This page's ID:
29225
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I don't really use XML that much but I have been screwing with PHP for a long time, PHP 5 is suppose to have some cool XML fuctions which I am trying to grasp but really falling short in the understanding. I figure I'd start with the basics find an XML file and try to parse it with PHP for information I actually wanted. To begin, lets look at an XML document for a game I play, it basicly lists realm status, load and type. http://www.worldofwarcraft.com/realmstatus/status.xml Ok so processing information, lets say I wanted to list on a PHP page all servers that are PVP based, ignoring all other types, how might this be accomplished? I know it should be parsable into an array but i'm just not getting it. Also how about single data parsing, lets say I only want to know the status for Dragonblight server, how does filtering work? I think I learn best by example and trying to break down and understand what something is doing, rather than figuring out the entire thing by starting from scratch and documentation. In general i'd also like to know if you are aware of any good tutorials on this type of stuff? I'd like to start incorporating XML into PHP in the future :) Thanks for any help you can offer. [url=http://stansco.com/cgi-bin/nc_ppp.cgi?10076]Synthetic's Chess Player Page[/url]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »