Parse resource XML with namespace awareness