optimized xml interface examples