> > What do you mean by "written down to a separate file"? Do you have a specific > format in mind? > sorry, it should be extracted into separate "files". i.e. if i have an XML file containing 10 million records, i need to split the file to 100 files containing 100,000 records each. i hope this is clearer...