XML Pickler?

Zoo Keeper candiazoo at mediaone.net
Sat Jan 5 01:24:41 EST 2002


My desire for it is simple:  create an html server that serves both a
gui client, and an html client.  Data being retrieved and passed back
as XML is useful to both.  It is also useful to store report data as
XML files which can later be uploaded by the client.

Mike

On Sat, 5 Jan 2002 05:35:43 +0100, Gerhard =?iso-8859-15?Q?H=E4ring?=
<gh_pythonlist at gmx.de> wrote:

>Le 04/01/02 à 20:08, Zoo Keeper écrivit:
>> This might sound like a crazy question... but has anyone written a
>> "Pickle" module that (sort of) converts a class to XML?  Or at least
>> the class data?
>
>Yes, search freshmeat.net for "pickle xml". Also I remember having seen
>such a beast on IBM's developerworks (by Mr. Mertz IIRC).
>
>I've seen such libraries for Java as well, but I find them of dubious
>value. If the data only makes sense for *one* application, why use XML
>at all. OK, it's easier to edit in a text editor than pickle's format,
>but is there another good reason to use XML instead of pickle, except
>for being buzzword compliant?
>
>Gerhard
>
>PS: I really like do like XML and XSLT, but I don't think it makes sense
>everywhere.
>-- 
>mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
>web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
>public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
>reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
>




More information about the Python-list mailing list