add function _xmlstring_to_array()