Expand my Community achievements bar.

SOLVED

Usage of NodeValue function

Avatar

Level 1

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.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Args are xpath, field.

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

 

Thanks,

-Jon

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Args are xpath, field.

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

 

Thanks,

-Jon

Avatar

Level 1
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?