creating a xml file

vb6 Grenada
  • 14 years ago

    hi,

    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

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

    i want to repeat this untill data over

    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















































Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“My definition of an expert in any field is a person who knows enough about what's really going on to be scared.” - P. J. Plauger