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
  1. Home
  2. General Programming
  3. XML / XSL
  4. XML file in VC++

XML file in VC++

Scheduled Pinned Locked Moved XML / XSL
c++data-structuresxmlhelpquestion
4 Posts 2 Posters 2 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.
  • J Offline
    J Offline
    joyshiv
    wrote on last edited by
    #1

    I don't know XML and I mean it. :p I need code in VC++ that can make an XML file out of a byte array. Can somebody help with that?:)

    M 1 Reply Last reply
    0
    • J joyshiv

      I don't know XML and I mean it. :p I need code in VC++ that can make an XML file out of a byte array. Can somebody help with that?:)

      M Offline
      M Offline
      Michael A Barnhart
      wrote on last edited by
      #2

      With out some description of your goals and what the structure of the data is in the array, any suggestions would be rather open. Have you looked through any tutorials? Like the ones I mention below. ""

      J 1 Reply Last reply
      0
      • M Michael A Barnhart

        With out some description of your goals and what the structure of the data is in the array, any suggestions would be rather open. Have you looked through any tutorials? Like the ones I mention below. ""

        J Offline
        J Offline
        joyshiv
        wrote on last edited by
        #3

        I need a code snippet in VC++ that can read an ascii (or Base64 encoded) file and generate an XML file. thanks for your 'help'.

        M 1 Reply Last reply
        0
        • J joyshiv

          I need a code snippet in VC++ that can read an ascii (or Base64 encoded) file and generate an XML file. thanks for your 'help'.

          M Offline
          M Offline
          Michael A Barnhart
          wrote on last edited by
          #4

          Well do you just need to read in a string and then save it as a CData section to a single element? I would expect you wanted to organize the data in some hierarchical scheme. Have you just browsed the XML code here in CP and looked for examples? Kristen Wegner's is good work (along with many others) http://www.codeproject.com/soap/pugxml.asp[^] There are several "SET" methods to add elements, attributes and their values. ""

          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