NSM API Update Xpath

06.29.12   |  
‎06-29-2012 01:11 PM


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