Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45796

serialize a class to XML and back

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <js@globe.de>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.118
X-Spam-Level *
X-Spam-Evidence '*H*': 0.77; '*S*': 0.01; 'python': 0.11; 'received:10.50': 0.16; 'subject:XML': 0.16; 'subject:class': 0.16; 'gmbh': 0.22; 'header:User-Agent:1': 0.23; 'class': 0.32; 'instances': 0.36; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'list,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'subject:back': 0.60; 'back': 0.62; '260': 0.84
X-Virus-Scanned Debian amavisd-new at ispconfig-mx01-ha03.globe.de
Date Thu, 23 May 2013 12:37:05 +0200
From Schneider <js@globe.de>
Organization GLOBE Development GmbH
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5
MIME-Version 1.0
To python-list@python.org
Subject serialize a class to XML and back
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2009.1369305490.3114.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1369305490 news.xs4all.nl 15970 [2001:888:2000:d::a6]:57073
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45796

Show key headers only | View raw


Hi list,

how can I serialize a python class to XML? Plus a way to get the class 
back from the XML?

My aim is to store instances of this class in a database.

bg,
Johannes

-- 
GLOBE Development GmbH
Königsberger Strasse 260
48157 MünsterGLOBE Development GmbH
Königsberger Strasse 260
48157 Münster
0251/5205 390

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

serialize a class to XML and back Schneider <js@globe.de> - 2013-05-23 12:37 +0200
  Re: serialize a class to XML and back alex23 <wuwei23@gmail.com> - 2013-05-23 17:01 -0700

csiph-web