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


Groups > comp.lang.python > #55710

RE: Remove whitespaces and line breaks in a XML file

Path csiph.com!eeepc.pasdenom.info!news.pasdenom.info!news.dougwise.org!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dvicente@full-on-net.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.074
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'whitespaces': 0.09; 'cc:': 0.15; 'de:': 0.16; 'received:jazztel.es': 0.16; 'subject:XML': 0.16; 'subject:whitespaces': 0.16; 'to:2**1': 0.19; 'breaks': 0.23; 'header:In-Reply-To:1': 0.23; 'subject:file': 0.24; 'code': 0.25; 'posted': 0.26; 'helpful': 0.27; 'thanks': 0.30; 'mix': 0.30; 'url:2007': 0.30; 'to:addr:python-list': 0.31; 'url:mailman': 0.31; 'quite': 0.33; 'file': 0.34; 'email name :python-list': 0.34; 'received:es': 0.36; 'to:no real name:2**1': 0.37; 'works': 0.38; 'url:org': 0.38; 'xml': 0.39; 'subject:: ': 0.39; 'url:python': 0.39; 'to:addr:python.org': 0.40; 'message- id:@com': 0.61; 'subject:line': 0.72; 'febrero': 0.84; 'received:87.220': 0.84; 'structures.': 0.84
From "David Vicente" <dvicente@full-on-net.com>
To <comp.lang.python@googlegroups.com>, <python-list@python.org>
References <mailman.3.1297112088.6276.python-list@python.org> <9de1ca25-550d-4591-8255-c07d3e5e7b15@glegroupsg2000goo.googlegroups.com>
In-Reply-To <9de1ca25-550d-4591-8255-c07d3e5e7b15@glegroupsg2000goo.googlegroups.com>
Subject RE: Remove whitespaces and line breaks in a XML file
Date Wed, 9 Feb 2011 08:23:39 +0100
MIME-Version 1.0
Content-Type text/plain; charset="iso-8859-1"
Content-Transfer-Encoding quoted-printable
X-Mailer Microsoft Office Outlook 12.0
Thread-Index AcvHIlDitZxomx0mSDStkS3tfHebmAAVyeJg
Content-Language es
X-Spam-Score -2.2 (--)
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.30.1297236253.1633.python-list@python.org> (permalink)
Lines 25
NNTP-Posting-Host 82.94.164.166
X-Trace 1297236253 news.xs4all.nl 81485 [::ffff:82.94.164.166]:36360
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:55710

Show key headers only | View raw


I´ll try to mix it with my code (xml.etree). 
Thanks ;)


-----Mensaje original-----
De: python-list-bounces+dvicente=full-on-net.com@python.org
[mailto:python-list-bounces+dvicente=full-on-net.com@python.org] En nombre
de Josh English
Enviado el: martes, 08 de febrero de 2011 0:46
Para: python-list@python.org
CC: python-list@python.org
Asunto: Re: Remove whitespaces and line breaks in a XML file

I found the code posted at 

http://infix.se/2007/02/06/gentlemen-indent-your-xml

quite helpful in turning my xml into human-readable structures. It works
best for XML-Data.

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

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


Thread

RE: Remove whitespaces and line breaks in a XML file "David Vicente" <dvicente@full-on-net.com> - 2011-02-09 08:23 +0100

csiph-web