added calcSubXmlTemplater to simplify forLoop
replaced i and j by numMatch and numCharacter
changed everywhere i and j into numMatch and numCharacter
changed signature of xmlTemplater@replaceXmlTag : using content and
options instead of long signature