light replacement of simplexml