Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question XML to store data but wheres the data come from?

    XML is the first language that I'm even beginning to grasp but I see it as a great benefit for storing information. The order and strict but open rules make it very easy to understand the concept.

    But where does the data come from. How do you get data into an XML format.
    Specifically to my needs I'd like users to enter data in a web form and that get stored in an xml format. Or some other structured file that can then be migrated to xml. I want this done client side (maybe javascript) I don't want to use asp or cgi on the server.

    Can this be done? Generally speaking how do you get data into XML form to make it usefull?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Newcastle, England
    Posts
    178
    Thanks
    0
    Thanked 0 Times in 0 Posts
    "Specifically to my needs I'd like users to enter data in a web form and that get stored in an xml format"

    "I want this done client side"

    Where do you expect the data to be stored?

    You can set up a form and process it server-side using, for example php or perl, to create an xml file, but you can't create an xml file client-side using javascript.

    patrick

  • #3
    New to the CF scene
    Join Date
    Sep 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    After some reading in the various other forums I've it mentioned that javascript can't write things to the server. I wanted it client side so I wouldn't have to have perl and use cgi etc. But owe well

    I installed perl and now have a form spitting out a file. Still have a long way to go but I closer.

    These are some great forums here.

    Thanks for the help


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •