If you don't need to manipulate the data and just need to present it you can make an XSLT
| Bookstore |
Book |
title |
author |
year |
price |
|
|
|
|
|
|
You can use php XSLT processor to generate the html or just link to the XSLT directly in the xml. For example if you link it like so:
Everyday Italian
Giada De Laurentiis
2005
30.00
Learning XML
Erik T. Ray
2003
39.95
This is what would be rendered in the web browser:
| Bookstore |
Book |
title |
author |
year |
price |
|
|
Everyday Italian |
Giada De Laurentiis |
2005 |
30.00 |
|
|
Learning XML |
Erik T. Ray |
2003 |
39.95 |