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 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Location
    India
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post client side xml generation

    Hi,

    Can we create xml or modify xml at the client side?

    If yes, how?

    Any one has the answer/knowledge. pls reply.


    Sumit

  • #2
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    Absolutely! You can use a text editor, or a WYSIWYG program like Amaya.

    The question is, which XML language do you want to work with: an established one, or one you've built? And if it's established, which one is it?

    That will determine, somewhat, what kind of programs you use. Personally, I use Amaya to create XHTML, then I hand-edit it with Microsoft's WordPad.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #3
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is that what the question is asking ... or did you want to know how to generate XML output, or dynamically edit an existing XML document, from within a client-side script ?

  • #4
    New to the CF scene
    Join Date
    Jan 2003
    Location
    India
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes I want to know how to generate XML output, or dynamically edit an existing XML document, from within a client-side script (JavaScript) ?

  • #5
    Moderator
    Join Date
    May 2002
    Location
    Hayward, CA
    Posts
    1,453
    Thanks
    1
    Thanked 21 Times in 19 Posts
    Within a script, your best bet is the Document Object Model.
    "The first step to confirming there is a bug in someone else's work is confirming there are no bugs in your own."
    June 30, 2001
    author, Verbosio prototype XML Editor
    author, JavaScript Developer's Dictionary
    https://alexvincent.us/blog

  • #6
    New Coder
    Join Date
    Sep 2002
    Location
    Lincoln, UK
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm also looking at doing this, the thing i would like to know is it possible for the file to be edited then saved without having to use a sever sider language.
    Beware The Dark Mechanical Bird

  • #7
    Regular Coder
    Join Date
    Aug 2002
    Location
    IN, USA
    Posts
    121
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You may have to use the File System Object- I dont know any really good tutorials though.
    Just call me Crash...
    "Crash- and BURN!"
    -Cereal Killer

  • #8
    New Coder
    Join Date
    Sep 2002
    Location
    Lincoln, UK
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks that might work, i'll hve to look into it.
    Beware The Dark Mechanical Bird


  •  

    Posting Permissions

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