Using anyxml in rpc input

Sahil Shah <sdn.sahilshah@...>


I want to use anyxml in the rpc input to receive xml file from the user. The file contents will be dynamic everytime.

I tried using it as in input in yang as follows:

rpc getinputXml {

input {
  anyxml assignment-rules;


The Input builder generated is not having any method to get the xml data passed by the user.

Can you suggest any approach to realize this scenario or any modification to the above one ?

Thanks and Regards