Introduce XML upload.
[gpl/argeo-suite.git] / knowledge / org.argeo.support.odk / src / org / argeo / support / odk / odk.cnd
index 0f6fcc8f93cda9313b3b4b9c691d02527342211c..c9fe6bccbd20efb4e63730d25bccb2c89488fcef 100644 (file)
@@ -4,8 +4,6 @@
 <orxManifest = "http://openrosa.org/xforms/xformsManifest">
 <odk = "http://www.opendatakit.org/xforms">
 
-[orxList:xform] > mix:created, mix:lastModified, jcrx:csum, entity:form
-+ h:html (odk:html) = odk:html
 
 [odk:head]
 + h:title (jcrx:xmlvalue) = jcrx:xmlvalue
 [odk:setgeopoint]
 - event (STRING)
 - ref (STRING)
+
+// OpenRosa web API
+
+[orxList:xform] > mix:created, mix:lastModified, jcrx:csum, entity:form
++ h:html (odk:html) = odk:html
+
+[orx:submission] > mix:created
++ xml_submission_file (nt:unstructured) = nt:unstructured
++ * (nt:file) *
+
+