pattern xml