alue ref="instance('control-instance')/new_id">false</xforms:setvalue>
											<xforms:toggle case="edit-record"/>
										</xforms:action>
									</xforms:select1>
								</div>
							</div>
						</xforms:case>
						<xforms:case id="edit-record">
							<div>
								<xforms:group ref="instance('doc')" id="form">
									<xforms:group ref="*[1]">
										<xforms:var name="type" select="name()"/>
										<h3>
											<xforms:output ref="instance('classes')/class[type=$type]/label"/>
					