In <[email protected]> Ombongi Moraa Fe 
<[email protected]> writes:

> My provider sends soap data to me as they receive from subscriber. as
> expected the messages with special characters like quotes are received as
> html entities.

> like the message below had a quote:

> <?xml version="1.0" encoding="utf-8" ?><soapenv:Envelope
> ...<message>I&apos;ll shape it up myself</message>...
> </soapenv:Body></soapenv:Envelope>


> Since i pass this data into my python script as a command line call, i get
> the error:

> /bin/sh: Syntax error: Unterminated quoted string

Can you modify your python script so it accepts a filename which contains
the xml?

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to