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