Helper functions for the TinyXML library.