I have well-formed xml documents into string variables. I want to use preg_replace to add a defined attribute to every xml tags.I have well-formed xml documents into string va
I have well-formed xml documents into string variables. I want to use preg_replace to add a defined attribute to every xml tags.I have well-formed xml documents into string va