Get value from Foscam ipcamera


I recently bought a Homey Pro and I’m trying to get the same flows which I had on Openhab(Rules). But I cannot figure out how I can get the value of a xml output:


I want to value of motionDetectAlarm as a trigger in a flow.
Can anyonen help me with that?