Need help to parse xml file with logstash

That's not going to work. I suggest you add

output { stdout { codec => rubydebug {} } }

and focus on getting the multiline codec working before you worry about the xpath expressions.