Results 1 to 6 of 6

Thread: VB.NET: Writing attribute and Elements to Xml [Resolved]

Threaded View

  1. #1

    Thread Starter
    Addicted Member toytoy's Avatar
    Join Date
    Jul 2004
    Posts
    230

    VB.NET: Writing attribute and Elements to Xml [Resolved]

    Say i have this Xml file
    Code:
    <Books>
       <Book type="1">
          <Author>Peter</Author> 
           <Section>1</Section> 
      </Book>
    </Books>
    how to create another automatic set of IDs and datas for the Xml tag so that when i type in another set of data...

    The content of the Xml file will become:
    Code:
    <Books>
      <Book type="1">
           <Author>Peter</Author> 
           <Section>1</Section> 
      </Book>
      <Book type="2">
           <Author>John</Author> 
           <Section>2</Section> 
      </Book>
    </Books>
    Thanks
    Last edited by toytoy; Dec 3rd, 2004 at 07:59 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width