<?xml version="1.0" encoding="UTF-8"?>
<structure version="14" html-doctype="HTML4 Transitional" compatibility-view="IE9" relativeto="*SPS" encodinghtml="UTF-8" encodingrtf="ISO-8859-1" encodingpdf="UTF-8" useimportschema="1" embed-images="1" enable-authentic-scripts="1" authentic-scripts-in-debug-mode-external="0" generated-file-location="DEFAULT">
	<parameters>
		<parameter name="Language" default="E"/>
	</parameters>
	<schemasources>
		<namespaces/>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="I-9_Form.xsd" workingxmlfile="I-9_Form.xml"/>
			<xsdschemasource name="Translation" schemafile="FormTranslation.xsd" workingxmlfile="FormTranslation.xml"/>
		</schemasources>
	</schemasources>
	<modules/>
	<flags>
		<scripts/>
		<globalparts/>
		<designfragments/>
		<pagelayouts/>
		<xpath-functions/>
	</flags>
	<scripts>
		<script language="javascript"/>
	</scripts>
	<script-project>
		<Project version="2" app="AuthenticView"/>
	</script-project>
	<importedxslt/>
	<globalstyles>
		<rule url="Samples.css">
			<media>
				<media value="all"/>
			</media>
		</rule>
	</globalstyles>
	<mainparts>
		<children>
			<globaltemplate subtype="main" match="/">
				<document-properties/>
				<children>
					<documentsection>
						<properties columncount="1" columngap="0.50in" headerfooterheight="fixed" pagemultiplepages="0" pagenumberingformat="1" pagenumberingstartat="auto" pagestart="next" paperheight="11in" papermarginbottom="0.79in" papermarginfooter="0.30in" papermarginheader="0.30in" papermarginleft="0.60in" papermarginright="0.60in" papermargintop="0.79in" paperwidth="8.50in"/>
					</documentsection>
					<template subtype="source" match="XML">
						<children>
							<paragraph paragraphtag="p">
								<properties class="info"/>
								<children>
									<text fixtext="This example demonstrates one of the three most common approaches how to translate document labels to different languages."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="This particular example uses a 2nd file which contains translation of all terms in it. A major advantage of this approach is that translation can be done by external people. Also formatting is only applied once per AutoCalc so that same formatting is guaranteed independent of language. A clear disadvantage of this approach is that it requires the biggest effort during design, because every label needs to get a special ID which then needs to be added synchronously in translation file."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="A parameter $Language (see Parameters table in Design Overview) is defined so that the language can be selected by either modifying parameter in Parameters table (try to enter E or G) or from outside when performing transformation. Please note that a date format also depends from language - this has been achieved by putting (contents) in condition and applying different Input Formatting to them"/>
								</children>
							</paragraph>
							<template subtype="element" match="I-9">
								<children>
									<template subtype="element" match="Person">
										<children>
											<tgrid>
												<properties border="1"/>
												<children>
													<tgridbody-cols>
														<children>
															<tgridcol>
																<styles width="2.47in"/>
															</tgridcol>
															<tgridcol>
																<styles width="4.38in"/>
															</tgridcol>
														</children>
													</tgridbody-cols>
													<tgridbody-rows>
														<children>
															<tgridrow>
																<children>
																	<tgridcell>
																		<styles text-align="left"/>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_FIRST&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="First">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<styles text-align="left"/>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_LAST&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="Last">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<styles text-align="left"/>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_MIDDLE&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="Middle">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<styles text-align="left"/>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_MAIDEN&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="Maiden">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<styles text-align="left"/>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_BIRTH&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																			<text fixtext=" "/>
																			<autocalc xpath="$Translation/id(&quot;PERSON_BIRTH_FORMAT&quot;)/Translation[@Language=$Language]"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="DateOfBirth">
																				<children>
																					<condition>
																						<children>
																							<conditionbranch xpath="$Language=&apos;E&apos;">
																								<children>
																									<content>
																										<format basic-type="xsd" string="MM/DD/YYYY" datatype="date"/>
																									</content>
																								</children>
																							</conditionbranch>
																							<conditionbranch xpath="$Language=&apos;G&apos;">
																								<children>
																									<content>
																										<format basic-type="xsd" string="DD.MM.YYYY" datatype="date"/>
																									</content>
																								</children>
																							</conditionbranch>
																						</children>
																					</condition>
																					<text fixtext=" "/>
																					<button>
																						<action>
																							<datepicker/>
																						</action>
																					</button>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<autocalc xpath="$Translation/id(&quot;PERSON_SOCIAL&quot;)/Translation[@Language=$Language]">
																				<styles font-weight="bold"/>
																			</autocalc>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="SocialSecurity">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
													</tgridbody-rows>
												</children>
											</tgrid>
										</children>
										<variables/>
									</template>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
