Articles
Tutorials
Resources
RSS Feeds
Book Shop
Programmer Software
Webmaster Corner
Web Hosting Articles
Search




Coupon Codes - never pay more again.. find discount coupon codes before making any online purchase just for free at couponrefund.com




ASP.NET Cookbook
ASP.NET Cookbook
Buy Now


Hitchhiker
Hitchhiker's Guide to SQL Server 2000 Reporting Services
Buy Now


JavaScript: The Complete Reference, Second Edition
JavaScript: The Complete Reference
Buy Now


Adobe GoLive CS Tips and Tricks
Adobe GoLive CS Tips and Tricks
Buy Now


Advanced PHP Programming
Advanced PHP Programming
Buy Now


COBOL for the 21st Century, 10th Edition
COBOL for the 21st Century
Buy Now


Microsoft Visual C# .NET Standard 2003
Microsoft SQL Server 2000 Standard Edition (5-client)
Buy Now


 


  HOME >> PHP >> Programming Article

 

XML How-to
Ranking:Your Ranking:
PHP's XML functions allow you to specify three functions that will handle the data in the XML file. One handles opening tags, one hands the data between tags, and the third handles the ending tags. Based on the name of the tags it gets passed you can then manipulate the data however you please. To begin with you need to look at your XML document and find out what tags are in the file. In our slashdot file we have STORY, TITLE, URL, TIME, AUTHOR, DEPARTMENT, TOPIC, COMMENTS, SECTION, and IMAGE. In some cases you would have attributes, and example is HREF is an attribute to A in HTML. PHP has an extremely cool way of handling attributes automagically.
Views: 963Submitted: 28th of February 2007Report Dead Link

   Go Back


Home Write for Us Advertising Add Link

2000-2008 ProgrammerTutorials.com  Privacy Policy


Partners: Web Design Directory | JavaScript tutorials | Free Webmaster Tools | Free Layouts | Make Money Online