Adding Nodes


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Adding Nodes

  1. #1
    Colin Guest

    Adding Nodes


    *Please* help me, I am going nuts!!

    I can traverse an XML document and get the values no bother but I also require
    to produce an XML document. I can also do this no bother but I require it
    to be structured (which I cannot do) like:

    <parent>
    <complexType>
    <forename>Joe</forename>
    <middle/>
    <surname>Bloggs</surname>
    </complexType>
    <parent>

    I can only get everything on the same level as the parent tag. Any help/pointers
    very very much appreciated - I am using the following:

    VB 6.0 Service Pack 4
    Microsoft Parser Novermber 2000 Release (msxml3.dll)

    Regards

    Colin

  2. #2
    Russell Jones Guest

    Re: Adding Nodes

    What do you mean it isn't "structured?" Are the tags in the wrong positions,
    or do you just mean that the output isn't indented properly? Show an example
    of your output and you'll probably get a meaninful reply.

    Russell Jones
    Sr. Web Development Editor
    DevX.com

    "Colin " <cgourlay@channel-one.co.uk> wrote in message
    news:3a6484b4$1@news.devx.com...
    >
    > *Please* help me, I am going nuts!!
    >
    > I can traverse an XML document and get the values no bother but I also

    require
    > to produce an XML document. I can also do this no bother but I require it
    > to be structured (which I cannot do) like:
    >
    > <parent>
    > <complexType>
    > <forename>Joe</forename>
    > <middle/>
    > <surname>Bloggs</surname>
    > </complexType>
    > <parent>
    >
    > I can only get everything on the same level as the parent tag. Any

    help/pointers
    > very very much appreciated - I am using the following:
    >
    > VB 6.0 Service Pack 4
    > Microsoft Parser Novermber 2000 Release (msxml3.dll)
    >
    > Regards
    >
    > Colin




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center