Example: XML File for a Web Form 
This is an example of an XML file that describes a Web form with various input fields. The following XSL file is available to depict the XML file. You should store the XML file in the /etc/wpceditor/types repository.
Syntax
<documenttype id="wpc_example" description="xml.xlbl.web_example" showpreview="true" showelementlist="true">
<properties>
<property id="fileName" description="xml.xlbl.filename" type="inputfield" size="25" isrequired="true" isfilename="true" />
<property id="title" description="xml.xlbl.title" type="inputfield" size="25" isrequired="true" />
</properties>
<elements>
<element id="author" description="xml.xlbl.author" type="peoplepicker" size="25" default="true"/>
<element id="authorimage" description="xml.xlbl.author_image" type="imageselect" default="true"/>
<element id="abstract" description="xml.xlbl.abstract" type="textedit" size="5" default="true" />
<element id="heading1" description="xml.xlbl.heading1" type="inputfield" size="50" default="true"/>
<element id="heading2" description="xml.xlbl.heading2" type="inputfield" size="50" default="false"/>
<element id="paragraph" description="xml.xlbl.paragraph" type="htmledit" default="true"/>
<element id="image" description="xml.xlbl.image" type="imageselect"/>
<element id="furtherreading" description="xml.xlbl.related_links" type="wpclink" hastitle="true" />
<element id="dateinput" description="xml.xlbl.dateinput" type="dateinput" hastitle="true" />
</elements>
</documenttype>