in reply to Dynamically breaking up a data set

For FMS's sake, use an XML library! You're creating invalid syntax.