Fix xml parsing with parameterized triggers within conditional block