fix # 140: Use  target (xml) attribute to distinguished input and output file patterns