Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #95971
| Subject | Re: XML Binding |
|---|---|
| References | <8e17ef7d-a08d-42bf-a56c-0a886d620130@googlegroups.com> |
| From | Burak Arslan <burak.arslan@arskom.com.tr> |
| Date | 2015-09-03 22:54 +0300 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.96.1441310503.8327.python-list@python.org> (permalink) |
Hello, On 09/03/15 19:54, Palpandi wrote: > Hi All, > > Is there any module available in python standard library for XML binding? If not, any other suggestions. lxml is the right xml library to use. You can use lxml's objectify or Spyne. Here are some examples: http://stackoverflow.com/questions/19545067/python-joining-and-writing-xml-etrees-trees-stored-in-a-list > Which is good for parsing large file? > 1. XML binding > 2. Creating our own classes If you're dealing with huge files, I suggest using just lxml and work with raw data. Deserializing xml objects to python classes sure is nicer but has performance overhead that gets more and more visible as the amount of data you deal with grows. Best, Burak
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
XML Binding Palpandi <palpandi111@gmail.com> - 2015-09-03 09:54 -0700
Re: XML Binding Burak Arslan <burak.arslan@arskom.com.tr> - 2015-09-03 22:54 +0300
Re: XML Binding Palpandi <palpandi111@gmail.com> - 2015-09-03 22:21 -0700
Re: XML Binding Chris Angelico <rosuav@gmail.com> - 2015-09-04 15:36 +1000
Re: XML Binding Laura Creighton <lac@openend.se> - 2015-09-04 08:46 +0200
Re: XML Binding Laura Creighton <lac@openend.se> - 2015-09-04 08:54 +0200
Re: XML Binding Lorenzo Sutton <lorenzofsutton@gmail.com> - 2015-09-04 10:11 +0200
Re: XML Binding Palpandi <palpandi111@gmail.com> - 2015-09-07 06:42 -0700
Re: XML Binding dieter <dieter@handshake.de> - 2015-09-09 10:20 +0200
Re: XML Binding Stefan Behnel <stefan_ml@behnel.de> - 2015-09-09 11:44 +0200
Re: XML Binding dieter <dieter@handshake.de> - 2015-09-10 08:30 +0200
Re: XML Binding harirammanohar159@gmail.com - 2015-09-09 02:00 -0700
Re: XML Binding Michele Simionato <michele.simionato@gmail.com> - 2015-09-10 23:47 -0700
csiph-web