Alan,
alan.b wrote
I am new to Orbeon, and running web servers in general, and have not been able to find a solid example of how to submit form data. To begin, I am running Orbeon on Tomcat on my local machine, so that I can test it out. I have an test form created in xhtml with xforms elements. I would like to save the form data in xml format. Right now I have the following set:
<xforms:submission id="save"
action="tournament1.xml"
method="put"
indent="true"
omit-xml-declaration="true"
includenamespaceprefixes="#default">
</xforms:submission>
A submission won't save files to disk, on the file system, along other files. In theory it could, but since files will be saved on the server, this use case doesn't make much sense and has never been implemented :). The easiest way to save a file is to save it in the eXist database, with action="/exist/rest/db/myfile.xml". Then go to
http://localhost:8080/orbeon/exist/rest/db/myfile.xml and you should be able to see your file there. You can also access eXist through WebDAV by mounting
http://localhost:8080/orbeon/exist/webdav/.
Alex