• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

generating dynamic XML

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
i need ur advise on how to use XML for developing a simple application.
in my application, the user is presented with a HTML form by which he
can make necessary selections. the form template is given below:
<form name="theForm">
<select name="sel" onchange="loadFile();">
<option> Choose the map u prefer
<option value="C:\My Documents\usa.jpg">US
<option value="C:\My Documents\uk.jpg" >UK
<option value="C:\My Documents\spain.jpg">Spain
<option value="C:\My Documents\greece.jpg">Greece
</select>
</form>
in the above application , the user chooses a map and some data files and on the server side, some processing is done on the user selected map using the data also selected by the user and the final map is displayed back to the user.
i have been asked to use XML in the above situation(probably for data exchange!!). i need to design a XML file that encapsulates the choices made by the user and this XML file has to be sent to the server via HTTP.
the server-side programs are to interpret this XML file and do necessary procesing. my question is:
is it possible to design such a XML file? this XML file should be a dynamic one that should change each time the user makes selection using the form.
i posted this question in XML forum and was advised to post it in JavaScript forum for better responses. eagerly looking forward to ur suggestions.
thanks in advance
 
Proudly marching to the beat of a different kettle of fish... while reading this tiny ad
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic