i want to create a xml file dynamically,
that is
i have 2 arrays, i want to run a program to fill that array, if the array size becomes 2KB i want to create a xml file
like this
Expand|Select|Wrap|Line Numbers
- <detail>
- <person>
- <address> </address>
- <age> </age>
- <data>cntents of array 1</data>
- </person>
- <education>
- <primary> </primary>
- <degree> </degree>
- <data> contents of array 2 </data>
- </education>
- <person>
- <address> </address>
- <age> </age>
- <data>cntents of array 1</data>
- </person>
- <education>
- <primary> </primary>
- <degree> </degree>
- <data> contents of array 2 </data>
- </education>
- <person>
- <address> </address>
- <age> </age>
- <data>cntents of array 1</data>
- </person>
- <education>
- <primary> </primary>
- <degree> </degree>
- <data> contents of array 2 </data>
- </education>
- </detail>
is it possible to do this
that is, if i accumulated 2KB of data write it into the xml file at the appropriate tag,
then accumulate next 2KBs of data like that plese help in this regard