I love SimpleXMLElement-- it's great as a XML Element Parser.So I am thinking is there an XML writer-- the one that changes the attribute values, for example, changing
<?xml version="1.0"?> <a b="One Two"> <c>Three Four</c> <d>Five Six</d> </a> to
<?xml version="1.0"?> <a b="One Two"> <c>seven</c> <d>eight</d> </a> Is there any existing library that does that? SimpleXMLElement doesn't provide that, I afraid.
Note that I am reading the XML from a file, not from a string.