lib/xml classes