Re: Using wait Processor in nifi

2017-08-23 Thread sally
Yes  i have added  it, thank you for  your  replay



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Using-wait-Processor-in-nifi-tp16691p16717.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Using EvaluateXpath in nifi

2017-08-23 Thread sally
I have xml response like this :
;false 
-2 data ot found

and I wan to get value of ErrorCode. I tried this:

//Error/ErrorCode/text()
but ErrorCode attribute seems to be Nan.

Can you recommend me any solution?



--
View this message in context: 
http://apache-nifi-developer-list.39713.n7.nabble.com/Using-EvaluateXpath-in-nifi-tp16718.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.


Re: Using EvaluateXpath in nifi

2017-08-23 Thread Andy LoPresto
Sally,

I replied to your StackOverflow question here [1]. In short, the XPath 
expression you are looking for is “//ErrorCode” (no quotes).

[1] https://stackoverflow.com/a/45847932/70465

Andy LoPresto
alopre...@apache.org
alopresto.apa...@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Aug 23, 2017, at 10:15 AM, sally  wrote:
> 
> I have xml response like this :
>  xmlns:xsi="w3.org/2001/XMLSchema-instance";
> xmlns:xsd="w3.org/2001/XMLSchema">;   xmlns="">  false 
> -2 data ot found
> 
> and I wan to get value of ErrorCode. I tried this:
> 
> //Error/ErrorCode/text()
> but ErrorCode attribute seems to be Nan.
> 
> Can you recommend me any solution?
> 
> 
> 
> --
> View this message in context: 
> http://apache-nifi-developer-list.39713.n7.nabble.com/Using-EvaluateXpath-in-nifi-tp16718.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.



signature.asc
Description: Message signed with OpenPGP using GPGMail