Added xml pattern.