Creating xml file using python

How can I create XML files like this using python?


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:adbe:runDeckAPI">

<soapenv:Header />

soapenv:Body

  <urn:getPausedWorkflows>

     <urn:sessiontoken>WebMarkOps/pass</urn:sessiontoken>

  </urn:getPausedWorkflows>

</soapenv:Body>

</soapenv:Envelope>




Read more here: https://stackoverflow.com/questions/67396411/creating-xml-file-using-python

Content Attribution

This content was originally published by santosh sm at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: