Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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?