Reading a xml file and write it to a text file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dorinbogdan
    Recognized Expert Contributor
    • Feb 2007
    • 839

    #16
    Originally posted by snitu
    Yes
    I need that server-script written in Javascript?
    Is this a question or answer to my previous question?

    Comment

    • dorinbogdan
      Recognized Expert Contributor
      • Feb 2007
      • 839

      #17
      You must use an asp file starting with
      Code:
      <%@ LANGUAGE="JavaScript" %>
      Then just update that code to use JavaScript intead of VBScript.

      Please let me know if you need any syntax help.

      Comment

      • snitu
        New Member
        • Apr 2007
        • 30

        #18
        Originally posted by dorinbogdan
        Is this a question or answer to my previous question?

        hi
        sorry for late reply.
        i am giving you answer of your previous question.

        Comment

        • snitu
          New Member
          • Apr 2007
          • 30

          #19
          Originally posted by snitu
          hi
          sorry for late reply.
          i am giving you answer of your previous question.


          hi
          And in your second reply i am not getting.


          Thanks

          Comment

          • marchmirchi
            New Member
            • Apr 2007
            • 1

            #20
            I want it in C# way of parsing XML file and writing it to in text file.......

            Comment

            • dorinbogdan
              Recognized Expert Contributor
              • Feb 2007
              • 839

              #21
              Originally posted by marchmirchi
              I want it in C# way of parsing XML file and writing it to in text file.......
              Welcome!

              Use XMLDocument to read XML files, like this article.
              And one method to write text files here.
              Last edited by Frinavale; Oct 15 '10, 08:16 PM.

              Comment

              • jaikant
                New Member
                • Jan 2008
                • 3

                #22
                Hi,
                I am loading a xml file using javascript in Pocket Internet Explorer for local HTML file. I am not able to save the xml file back to the PPC device.
                Code:
                foodXML = new ActiveXObject("Msxml2.DOMDocument"); 
                newElement = foodXML.createElement(textstr); 
                foodXML.appendChild(newElement); 
                foodXML.save("test.xml");
                Please help me to save xml file to local folder using javascript.
                Thanks
                Jaikant
                Last edited by Frinavale; Oct 15 '10, 08:17 PM.

                Comment

                • jack baver

                  #23
                  Reading a xml file and write it to a html file using c#

                  how to read a xml file and write it in to a html file using c#

                  Comment

                  • Frinavale
                    Recognized Expert Expert
                    • Oct 2006
                    • 9749

                    #24
                    Jack,

                    Please refer to your thread posted here for more help on this topic.

                    Comment

                    Working...