Any XML-RPC fans who can help me with this please?

This label command works in the PyMOL command line:

label 4zho//A/36/CA 4zho//B/36/CA, "hello world"

How do I format an equivalent XML-RPC request?
I've tried
<methodCall>
  <methodName>label</methodName>
  <params>
    <parameter>
      <value>4zho//A/36/CA  4zho//B/36/CA</value>
    </parameter>
    <parameter>
      <value>"hello world"</value>
    </parameter>
  </params>
</methodCall>

but get back a fault response XML message with

&lt;class 'SyntaxError'&gt;:invalid syntax (&lt;string&gt;, line 1)


I have also tried encoding the " as %22, or omitting the quotes, same result.

Any ideas please?

Thanks,

Mungo
Email signature
 
University of Dundee shield logo    

Mungo Carstairs
Jalview Computational Scientist

The Barton Group
Division of Computational Biology

School of Life Sciences

University of Dundee, Dundee, Scotland, UK

www.jalview.org

www.compbio.dundee.ac.uk 
g.m.carstairs@dundee.ac.uk

University of Dundee Facebook University of Dundee Twitter University of Dundee LinkedIn University of Dundee YouTube University of Dundee Instagram University of Dundee Snapchat 
We're Scottish University of the Year again!
The Times / Sunday Times Good University Guide 2016 and 2017

The University of Dundee is a registered Scottish Charity, No: SC015096