Usage of NodeValue function | Community
Skip to main content
santosh2132
August 13, 2020
Solved

Usage of NodeValue function

  • August 13, 2020
  • 1 reply
  • 1808 views

Hi All

I would like to know NodeValue () usage .

Syntax :- NodeValue (<String>, <String>) 

 

However if someone can explain the specific example , if i have to extract "Sender Address" from nmsdelivery.mailParamaters using NodeValue , can i do that ?

 

I am aware of JS way of extracting data from xml but need to know if this function can do the same task.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jonathon_wodnicki

Hi,

 

Args are xpath, field.

Sender address is NodeValue('mailParameters/senderAddress', data), or just [mailParameters/senderAddress] -no NodeValue() needed.

 

Thanks,

-Jon

1 reply

Jonathon_wodnicki
Community Advisor
Jonathon_wodnickiCommunity AdvisorAccepted solution
Community Advisor
August 13, 2020

Hi,

 

Args are xpath, field.

Sender address is NodeValue('mailParameters/senderAddress', data), or just [mailParameters/senderAddress] -no NodeValue() needed.

 

Thanks,

-Jon

santosh2132
August 15, 2020
Thanks Jonathon.. with the same line i am trying to extract URL saved in my delivery template (yet to be deployed) which schema & XML should store all URL links and how can i extract?