Optimized XMLLoader