|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 189 ||All time: 8,516 This week: 159|
This is a very simple class that can remove spaces from XML tag values.
It takes a XML document as a SimpleXMLElement returned for instance by simplexml_load_file and traverses all the document tags.
The class trims the spaces around XML tag values and saves them back to the document.
|Sometimes you need to process XML files that contain undesired spaces around the tag values.
This class can cleanup a XML document by trimming spaces around XML tag values.
Remove both side spaces between words in a .xml file
$xml = simplexml_load_file( $xml_file );
var_dump( '<pre>', NoXMLSpace::noSpace($xml) );
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.