aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes XML and dynamic data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "XML and dynamic data" Watch "XML and dynamic data" New topic
Author

XML and dynamic data

Yell Srik
Ranch Hand

Joined: Mar 10, 2004
Posts: 61
Hi,
one of the most important uses of XML is data exchange. generally one
can use tags to specify data in XML. my question is that; i have used HTML
to design a simple form providing users the options of selecting data. now
i want to use XML for data exchange in this case ie whatever selections
the user makes via the HTML forms should be encapsulated in a XML file
that is sent to a server for processing.
i want to know how can i create such an XML file?
thanks in advance.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The only way you can do this in the context of an HTML form is with JavaScript (although I'm not quite sure whether it's possible with JavaScript either).
I'll move this post to the JavaScript forum for further discussion (how to generate the XML and send it to a server).


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: XML and dynamic data
 
Similar Threads
XML Vs RDBMS
using attributes or elements???
Writing XML?
Reply to Govind K: XML
Beginner question: When to use XML