in reply to Re^2: get specific value of element using xpath in perl
in thread get specific value of element using xpath in perl

Note that whitespace is significant, and the text content of the node is not 'Service Name', but "\nService Name". One quick way to fix this is by changing your XPath expression to q{//custom_attribute_list/custom_attribute[normalize-space(name)='Service Name']/value}. Since your question is more about XML and XPath than Perl, I recommend you familiarize yourself with those some more, for example at w3schools.

Replies are listed 'Best First'.
Re^4: get specific value of element using xpath in perl
by snehit.ar (Beadle) on Jun 27, 2017 at 09:07 UTC
    I am glad you help me and shown correct path to brush-u my skills. Appreciate your help .Thank you.