The Artima Developer Community
Sponsored Link

Python Answers Forum
low child in xml

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
ndoe ganteng

Posts: 3
Nickname: ndoe
Registered: Oct, 2008

low child in xml Posted: Nov 3, 2008 9:10 AM
Reply to this message Reply
Advertisement
how to make the deepest child in xml from data.txt

lindu
bali
23
indonesia
male
surfing
gardening

from that file i want make data.xml like this
<people>
<profile>
<name>lindu</name>
<home>bali</home>
<age>23</age>
<country>indonesia</country>
<hobby>
<most>surfing</most>
<little>gardening</little>
</hobby>
</profile>
</people>

without change the code every file i free to make a new data.xml
i mean i can make data.xml from data.txt without watch the content and i free to define the low for child in xml

Topic: Speed of Python Previous Topic   Next Topic Topic: python with libxml2

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use