I'd like to use ssh instead of using netconf-console with xml

You may also want to explore use of the interactive mode of netconf-console with the -i or --interactive option which allows you to manually enter one or more RPC requests.

An example usage of netconf-console’s interactive mode is shown in this posting at Candidate datastore.