W3C home > Mailing lists > Public > www-forms@w3.org > October 2003

RE: saving submitted XML locally

From: DuCharme, Bob (LNG-CHO) <bob.ducharme@lexisnexis.com>
Date: Thu, 23 Oct 2003 16:17:19 -0400
Message-ID: <FEF4858E8AB32D4EAC2CF2A7D85386EBE52DAF@lnxdayexch06.lexis-nexis.com>
To: "'www-forms@w3c.org'" <www-forms@w3c.org>

Great, both <xforms:submission id="s01" action="file:///c:/temp/foo.xml"
method="put"/> and
<xforms:submission id="s01" action="file:///temp/foo1.xml" method="put"/>
worked with XSmiles. XSmiles also displayed the created XML after it saved
them. (I was using the bookmarks demo.) Thanks Leigh (and Mark B)!


-----Original Message-----
From: Klotz, Leigh [mailto:Leigh.Klotz@pahv.xerox.com]
Sent: Thursday, October 23, 2003 2:50 PM
To: 'DuCharme, Bob (LNG-CHO)'; 'www-forms@w3c.org'
Subject: RE: saving submitted XML locally

Are you asking as a user or as an implementor?
As a user,
<submission action="file://locahost/foo.xml" method="put" /> "may" write to
a local file, but support is not required as part of conformance (i.e., it
is not a "must".)
If you're just looking for a quick test harness, many of the XForms
processors appear to support it.
As an implementor there are some subtleties regarding use of the file: URI
scheme with other methods that are mentioned in the spec.


-----Original Message-----
From: DuCharme, Bob (LNG-CHO) [mailto:bob.ducharme@lexisnexis.com] 
Sent: Thursday, October 23, 2003 11:45 AM
To: www-forms@w3c.org
Subject: saving submitted XML locally

If I want to save the XML submitted by my XForm as a local disk file, I
suppose I could run Tomcat and point submission/@action to a CGI running on
http://localhost:8080/whatever, but I'm wondering if anyone knows a leaner
way to do it. 


Received on Thursday, 23 October 2003 16:17:21 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:36:09 UTC