Traps support for XML files.