Is there a possibility to read out the attribute status value of the parent with a HTTP XML/REST Value sensor?

Here is an example:

<Status> <Call item="1" status="Synced" type="Vtlph" protocol="H323"> <CallRate item="1">768</CallRate> <RemoteNumber item="1">10.47.15.127</RemoteNumber> </Call> </Status>

I always get the following error back

Expression must evaluate to a node-set. My expression is the following


Article Comments

Hi,
Could you post the XPATH expression you are using as well? :) Thank you!


Jul, 2014 - Permalink

oeps forgot to copy paste it into the orignal request

[@status='Synced']

tried multiple

call@status='Synced'

all without success.


Jul, 2014 - Permalink

Hi,
try using

/*/Call/@status

Does that work?


Jul, 2014 - Permalink