moved dom insertion utility to SXML-utils