improved clide-xml macros