refact the xmlParsingHelper
refact the xmlParsingHelper