Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71525
| Date | 2014-05-13 22:09 -0400 |
|---|---|
| From | Dave Angel <d@davea.name> |
| Subject | Re: Need help to write data onto an XML file after reading data from another xml file |
| References | <2c8cb313-50f6-439b-a979-bd320a2c7b2c@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.9987.1400033402.18130.python-list@python.org> (permalink) |
On 05/13/2014 10:31 AM, varun7rs@gmail.com wrote: > 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 > Try to include the relevant information in your message. Many people cannot, or will not, follow links. Further, those links are frequently transient (such as your dropbox one), which means the message thread becomes historically useless. So a link to point to a particular library is useful and practical, one to your source code is not. And many readers cannot see attachments or html formatted messages. -- DaveA
Back to comp.lang.python | Previous | Next — Previous in thread | 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