Requirements for Online Forms XML
An XML file must contain the appropriate declaration and namespace information for Accolade to recognize the file as an online form.
XML Declaration
The XML Declaration is the first line in every Accolade\ XML template. This code allows Accolade and other software to recognize the file as an XML document. It is required and must be exactly as stated below:
<?xml version="1.0" encoding="UTF-8"?>
XML Namespace
A namespace is the name of the collection of named elements in the document. It uniquely identifies the element names used in this document. The root element, web-document, contains two namespaces declared in the following text:
xmlns:wd="urn:sopheon-com:sgm:webdoc:1"
xmlns="urn:sopheon-com:sgm:webdoc:1"
The start tag of the web-document element declares the namespaces using the following format:
<wd:web-document
title="Document Title Text"
xmlns:wd="urn:sopheon-com:sgm:webdoc:1"
xmlns="urn:sopheon-com:sgm:webdoc:1">
Do not omit or modify the namespace declarations.
The practical effect of having two declarations is that element tags can be written either as <wd:group>
or as <group>
.