Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > from data structure to xml an vice versa

Reply
Thread Tools

from data structure to xml an vice versa

 
 
Zunbeltz Izaola
Guest
Posts: n/a
 
      12-12-2003

Hi,

I'm quite new to xml and i don't know all the techniques that are
around xml.

I'm planing a program (in Python). My data structure is like that

class A:
data1
data2
method1
....
list of B

class B:
data3
data4
method2
....
list of C

class C:
data4
data5
method3
....


Whre data are attributes of simple types (numbers, strings,...) and
list of ... are list or dictionaries of instaces of clase B ,C ...

I want to know what is the best technique to write a xml file from a
instance of class A (write all the data it contains) and what is the
best for the oder way; storing the data in a xml way, build the
instances with the data in the file.

Thanks in advance

Zunbeltz

--
Remove XXX from email: X
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xml to object and vice versa JyotiC Java 10 07-30-2008 11:55 AM
Re: Fwd: xml to mysql (vice versa ) too Maric Michaud Python 1 06-24-2008 04:43 PM
Losing Session Data when switching from http -> https and vice versa MattC ASP .Net Security 1 08-16-2005 08:15 PM
Java Object to XML and vice versa Sam Hwang Java 5 04-25-2005 12:22 PM
map XML union to C union (and vice-versa) Matt Garman XML 1 04-25-2004 12:40 AM



Advertisments