Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71495
| X-Received | by 10.66.233.65 with SMTP id tu1mr14183227pac.35.1399991488372; Tue, 13 May 2014 07:31:28 -0700 (PDT) |
|---|---|
| X-Received | by 10.140.96.41 with SMTP id j38mr46064qge.8.1399991488326; Tue, 13 May 2014 07:31:28 -0700 (PDT) |
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r10no3863856igi.0!news-out.google.com!dz10ni35687qab.1!nntp.google.com!ih12no3140741qab.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | comp.lang.python |
| Date | Tue, 13 May 2014 07:31:28 -0700 (PDT) |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=134.109.4.107; posting-account=8TkBGgoAAAAujQCaKU4bU2rJUYDVARhu |
| NNTP-Posting-Host | 134.109.4.107 |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <2c8cb313-50f6-439b-a979-bd320a2c7b2c@googlegroups.com> (permalink) |
| Subject | Need help to write data onto an XML file after reading data from another xml file |
| From | varun7rs@gmail.com |
| Injection-Date | Tue, 13 May 2014 14:31:28 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Xref | csiph.com comp.lang.python:71495 |
Show key headers only | View raw
Hello Users, I am in dire need of your help. I have been working on this code for quite some time and it is making me restless. All I am trying to do is, 1. Read data from an xml file. Source: http://sndlib.zib.de/coredata.download.action?objectName=germany50&format=xml&objectType=network 2. The data I'm concerned about is the node ID, co-ordinates, capacity of the links, source and destination names. 3. I'm creating a topology with this information and the topology is same as the one given in the xml file. But, I'd like to add a few extra parameters and demands which I have mentioned in the .py file. 4. This is where I am faltering. I am just not able to create this topology. The file has also become really messy as I tried a lot of weird stuff and commented it out as it did not work. 5. I'll attach the relevant files and I'd like to write the output onto a new xml file. I'd be glad if any of you could help me out. I'm indebted to you guys. Oh I was not aware that I could attach files. Anyways, here is the link to the files I'm working on https://www.dropbox.com/sh/i8h321y7c9c60vt/AADzDj7oOM8YU76Ww6W4LIPYa Thanks a lot everyone
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Need help to write data onto an XML file after reading data from another xml file varun7rs@gmail.com - 2014-05-13 07:31 -0700
Re: Need help to write data onto an XML file after reading data from another xml file Dave Angel <d@davea.name> - 2014-05-13 22:09 -0400
Re: Need help to write data onto an XML file after reading data from another xml file varun7rs@gmail.com - 2014-05-13 23:49 -0700
Re: Need help to write data onto an XML file after reading data from another xml file Dave Angel <davea@davea.name> - 2014-05-14 03:32 -0400
Re: Need help to write data onto an XML file after reading data from another xml file varun7rs@gmail.com - 2014-05-14 06:42 -0700
Re: Need help to write data onto an XML file after reading data from another xml file Chris Angelico <rosuav@gmail.com> - 2014-05-14 23:49 +1000
csiph-web