|
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."
|