Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. XML writer using MSXML class [modified]

XML writer using MSXML class [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
salesxml
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amit code
    wrote on last edited by
    #1

    Hi. I want to implement xml writer function using MSXML class.I can move to any particular element in the file without iterating every node. But suppose following is the xml file code. Month Net Revenue I can only append the child of tr element and it will add it in the last, what about adding a child between A1 and B1, there is no such function to insert in between. thanks amit modified on Monday, January 12, 2009 1:22 AM

    V S 2 Replies Last reply
    0
    • A amit code

      Hi. I want to implement xml writer function using MSXML class.I can move to any particular element in the file without iterating every node. But suppose following is the xml file code. Month Net Revenue I can only append the child of tr element and it will add it in the last, what about adding a child between A1 and B1, there is no such function to insert in between. thanks amit modified on Monday, January 12, 2009 1:22 AM

      V Offline
      V Offline
      VC Maniac
      wrote on last edited by
      #2

      You could have checked "Ignore HTML ... " checkbox for your message.

      A 1 Reply Last reply
      0
      • V VC Maniac

        You could have checked "Ignore HTML ... " checkbox for your message.

        A Offline
        A Offline
        amit code
        wrote on last edited by
        #3

        Thanks for that.. Meanwhile i got an article [^] by which i can accomplish my task. Thanks

        amit

        1 Reply Last reply
        0
        • A amit code

          Hi. I want to implement xml writer function using MSXML class.I can move to any particular element in the file without iterating every node. But suppose following is the xml file code. Month Net Revenue I can only append the child of tr element and it will add it in the last, what about adding a child between A1 and B1, there is no such function to insert in between. thanks amit modified on Monday, January 12, 2009 1:22 AM

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          IXMLDOMElement::insertBefore[^] should be right. You want the IXMLDOMElement interface for the <tr> element and specify the second <td> as the element in fornt of which the new element should be inserted.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups