The following is the XML schema describing the XML file generated for posting submitted data posting to an external URL when a form transits from one state to another.
Sample XML is available here.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <xs:element name="actionbyid" type="xs:string"/> <xs:element name="actionbyname" type="xs:string"/> <xs:element name="data"> <xs:complexType> <xs:sequence> <xs:element ref="key"/> <xs:element ref="value"/> <xs:element ref="name"/> <xs:element ref="type"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="datalist"> <xs:complexType> <xs:sequence> <xs:element ref="data" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="form"> <xs:complexType> <xs:sequence> <xs:element ref="form" minOccurs="0"/> <xs:element ref="templatedetail" minOccurs="0"/> <xs:element ref="formdetail" minOccurs="0"/> </xs:sequence> <xs:attribute name="version"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="1.0"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="formdetail"> <xs:complexType> <xs:sequence> <xs:element ref="datalist"/> </xs:sequence> <xs:attribute name="id" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="formownerid" type="xs:string"/> <xs:element name="formownername" type="xs:string"/> <xs:element name="key" type="xs:string"/> <xs:element name="name" type="xs:string"/> <xs:element name="templatecreated" type="xs:string"/> <xs:element name="templatedetail"> <xs:complexType> <xs:sequence> <xs:element ref="templatename"/> <xs:element ref="templateid"/> <xs:element ref="templatecreated"/> <xs:element ref="templateownerid"/> <xs:element ref="templateownername"/> <xs:element ref="formownerid"/> <xs:element ref="formownername"/> <xs:element ref="actionbyid"/> <xs:element ref="actionbyname"/> <xs:element ref="whenactioned"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="templateid" type="xs:string"/> <xs:element name="templatename" type="xs:string"/> <xs:element name="templateownerid" type="xs:string"/> <xs:element name="templateownername" type="xs:string"/> <xs:element name="type"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="Date"/> <xs:enumeration value="File"/> <xs:enumeration value="FreeText"/> <xs:enumeration value="Numeric"/> <xs:enumeration value="String"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="value" type="xs:string"/> <xs:element name="whenactioned" type="xs:string"/> </xs:schema>