use XSLoader when possible