Need XML DOM

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Need XML DOM

Post by alex.barylski »

Edit: I should note that I need only read only and I want it light light weight :)

A while back I found a very trivial DOM class (actually I think it was a single function) which did nothing but return an multi-dimensional array of all HTML elements and each had child arrays if attributes were supplied, etc...

Anyways, I want that little function back :(

I have searched hi and dry for this, but oculd only find larger PHP implementations...

Like:

http://phpdomxml.webtweakers.com/docs/examples.php
And
http://www.engageinteractive.com/mambo/ ... emid=25279

Both are more than I need I just a simple function which I can pass an XML file to and have it return a simple array...

I don't want to work with any native PHP functions, etc...unless they do exactly as I specified above :)

Anyone know of a function which does this, hopefully the one I refer too???

Thanks :)
Post Reply