perl -p0e "s/.*<\/managedObject>/$& x 100/se" testinsmall.xml > testin.xml