XML Tag Parsing into HTML tags
I have an set of XML feeds that I want to parse and output onto my page, converting the XML tags to appropciate HTML tags.
What would be the process to accomplish this? I was looking at some PHP.net tutorials on XML parsing, and with PHP5 there is a neat little function but I canít seem to wrap my head around it.
Any insight will be greatly appreciated!
Simplepie can do it simply.
You can use Simplepie.inc class by require_once. The Simplepie documentation is easy-to-use. google it.
XSLT is good at turning XML into anything.
Logic without the fatal effects.
All code snippets are licensed under WTFPL.
As logic_earth previously stated, take a look at XSLT; it's ridiculously powerful yet it's basics are quite easily learnt.
Try reading this book, it's very interesting.