Results Macro ported to proper xml method