Showing results for 
Search instead for 
Do you mean 
Posts: 2
Registered: ‎07-27-2011
0 Kudos

NSM API Update Xpath


I use nsm api script to create/update adresses/services with the api in any domain.

I succed to create a nsmpolicy with a rulebase too (based on xml)


 I have a question with the update method. I use appendnode or updatenode


But I don't know how to update an existing rule (pol_name eg.) .


For example update the comments of  the rule number 3 or rule with th id 3 etc..


what is the good XPATH for this?

I try ('./rules_collection/rules[3]


and the value:



but it does not work ;'(


Thanks for your help