View Single Post
Old Sep 27th, 2004, 4:10 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Read the file content in line by line, searching for each opening tag... compare that tag to the ones you want to isolate. For instance, if the activies tag is open, create a new file send each line that you read in, into the new file until the closing activity tag is reached, then save that file and begin looking for the next opening tag's section / Contacts.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote