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. Web Development
  3. ASP.NET
  4. String To XML

String To XML

Scheduled Pinned Locked Moved ASP.NET
xmlhelpquestion
8 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.
  • E Offline
    E Offline
    Elizma
    wrote on last edited by
    #1

    Hi All you Clever people. I have a very simple question to ask. I have a string object that is in an xml format. All I want to do is take the content of this string object and write it to an xml file on say the C:\ drive. Please help if someone know of a quick and easy way. You help is greatly appreciated. Kind Regards Elizma

    L M 2 Replies Last reply
    0
    • E Elizma

      Hi All you Clever people. I have a very simple question to ask. I have a string object that is in an xml format. All I want to do is take the content of this string object and write it to an xml file on say the C:\ drive. Please help if someone know of a quick and easy way. You help is greatly appreciated. Kind Regards Elizma

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Elizma wrote:

      I have a string object that is in an xml format. All I want to do is take the content of this string object and write it to an xml file on say the C:\ drive.

      What? You are a developer and you don't know how to write a file to disk? I must be missing something here, yes? :confused:

      E 1 Reply Last reply
      0
      • E Elizma

        Hi All you Clever people. I have a very simple question to ask. I have a string object that is in an xml format. All I want to do is take the content of this string object and write it to an xml file on say the C:\ drive. Please help if someone know of a quick and easy way. You help is greatly appreciated. Kind Regards Elizma

        M Offline
        M Offline
        Marco van der Linden
        wrote on last edited by
        #3

        Hello Elizma, Just write the string to a file with the extention ".xml". Greetings, Marco van der Linden

        E 1 Reply Last reply
        0
        • L led mike

          Elizma wrote:

          I have a string object that is in an xml format. All I want to do is take the content of this string object and write it to an xml file on say the C:\ drive.

          What? You are a developer and you don't know how to write a file to disk? I must be missing something here, yes? :confused:

          E Offline
          E Offline
          Elizma
          wrote on last edited by
          #4

          Hi, There was no need for sarcasm! I do know how to write a file to disk! After investigation we found that it was not me being stupid but some security issues! I was just double checking out of frustration that it wasn't me being stupid!!! So next time stop wasting your own time giving stupid answers if you dont want to answer the question that was asked. Especially if you dont know the full story! There is reasons why people sometimes ask questions that sound stupid to "boffens" like you. Guess the saying is right. "There is no such thing as a stupid questions. It all depends on who you ask!" Anyway. Got the problem sorted out! And no! It was not my code! Kind Regards, Elizma

          L 1 Reply Last reply
          0
          • M Marco van der Linden

            Hello Elizma, Just write the string to a file with the extention ".xml". Greetings, Marco van der Linden

            E Offline
            E Offline
            Elizma
            wrote on last edited by
            #5

            Hi, Thanks for you reply. Your solution is exactly what I did, but for some or other reason we only got blank files amoung other problems. Got the problem sorted out at the end. Seemed to be a security issue and bad data issue rather than a coding problem. I was just trying to double check to make sure that I am not being stupid and that the problem is somewhere else. Still appreciate your reply. Kind regards, Elizma

            1 Reply Last reply
            0
            • E Elizma

              Hi, There was no need for sarcasm! I do know how to write a file to disk! After investigation we found that it was not me being stupid but some security issues! I was just double checking out of frustration that it wasn't me being stupid!!! So next time stop wasting your own time giving stupid answers if you dont want to answer the question that was asked. Especially if you dont know the full story! There is reasons why people sometimes ask questions that sound stupid to "boffens" like you. Guess the saying is right. "There is no such thing as a stupid questions. It all depends on who you ask!" Anyway. Got the problem sorted out! And no! It was not my code! Kind Regards, Elizma

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #6

              Fuck off asshole

              led mike

              E 1 Reply Last reply
              0
              • L led mike

                Fuck off asshole

                led mike

                E Offline
                E Offline
                Elizma
                wrote on last edited by
                #7

                I am almost 9 months pregnant! I am tired, I am cranky and a list of all the pregnant crap out there. I asked a stupid question out of frustration. You gave me a crappy reply. Maybe I misunderstood your question and felt offended by it. That is why I tried to explain to you why I asked a stupid question. This asshole is f***ing off! Elizma

                L 1 Reply Last reply
                0
                • E Elizma

                  I am almost 9 months pregnant! I am tired, I am cranky and a list of all the pregnant crap out there. I asked a stupid question out of frustration. You gave me a crappy reply. Maybe I misunderstood your question and felt offended by it. That is why I tried to explain to you why I asked a stupid question. This asshole is f***ing off! Elizma

                  L Offline
                  L Offline
                  led mike
                  wrote on last edited by
                  #8

                  Elizma wrote:

                  I am almost 9 months pregnant!

                  If that is true I apologize for my last post. I certainly don't want to cause you any stress.

                  Elizma wrote:

                  I asked a stupid question

                  Apparently your question was not stupid but just that you did not supply enough information for us to determine what the problem was. I am glad you resolved the problem. All the best to you and your baby. :rose:

                  led mike

                  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