How to split Large XML files into number of small files
-
Hi I have list of files which are roughly 2GB in Size. When I load them they never comes back, So I need to split them, I searched and found this one http://www.codeproject.com/KB/XML/SplitLargeXMLintoSmallFil.aspx[^] but it has some missing declarations and functions which I asked the writer but no response so far. Is there any oen who can help me out with this issue. I need to split one file into maximum of 25 MB size. The xml File is very very simple like this <catalog> <product> <name>Product 1</name> </product> <product> <name>Product 2</name> </product> </catalog> any help would be highly appreciated. Best Regards Rizwan Bashir
-
Hi I have list of files which are roughly 2GB in Size. When I load them they never comes back, So I need to split them, I searched and found this one http://www.codeproject.com/KB/XML/SplitLargeXMLintoSmallFil.aspx[^] but it has some missing declarations and functions which I asked the writer but no response so far. Is there any oen who can help me out with this issue. I need to split one file into maximum of 25 MB size. The xml File is very very simple like this <catalog> <product> <name>Product 1</name> </product> <product> <name>Product 2</name> </product> </catalog> any help would be highly appreciated. Best Regards Rizwan Bashir
Any way you like. Are your products in different departments? Or come from different vendors?
-
Any way you like. Are your products in different departments? Or come from different vendors?
They are from Different vendors but most of them have same XML structure with same parent tags ie catalog and product. under product there could be different number of values but overall structure is same. any ideas ? Best regards Rizwan Bashir
-
They are from Different vendors but most of them have same XML structure with same parent tags ie catalog and product. under product there could be different number of values but overall structure is same. any ideas ? Best regards Rizwan Bashir
I was hinting that you could make separate files for each department or vendor.