PHP XSLT or SimpleXML code to remove empty nodes

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
User avatar
themurph
Forum Commoner
Posts: 76
Joined: Wed Apr 19, 2006 1:56 pm
Contact:

PHP XSLT or SimpleXML code to remove empty nodes

Post by themurph »

Does anyone have some sample code or a link to a library that can trim(purge entirely) empty nodes from an XML document?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Post Reply