forms:group
						ref=".[count(instance('doc')/*[1]/skos:definition/@xml:lang) &gt; count(instance('doc')/*[1]/skos:definition/@xml:lang[not(preceding::skos:definition/@xml:lang = .)])]">
						<div class="bg-danger alert-box">
							<span class="glyphicon glyphicon-exclamation-sign"></span>
							<strong>Alert:</strong> Definition languages must be unique. </div>
					</xforms:group>
					<div class="submission text-center">
						<xforms:trigger appearance="minimal">
							<xforms:action ev:event="DOMA