<?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/>
	<schemasources>
		<namespaces>
			<nspair prefix="f" uri="http://www.xmlspy.com/schemas/formatting"/>
		</namespaces>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="Book.xsd" workingxmlfile="Book.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 is one of the examples demonstrating usage of editable variables in Authentic."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="When displaying big files in Authentic, one can significantly reduce loading time and make the files more easily readable when not showing the whole file at once. In this particular sample we show a book chapter-by-chapter. Note that chapter list is retrieved automatically from the file into $AllChapters variable. Please also note, that all editable variables, like $CurrentChapter in this case, must have a type assigned to them."/>
								</children>
							</paragraph>
							<template subtype="element" match="book">
								<children>
									<paragraph paragraphtag="p">
										<children>
											<text fixtext="Please select a chapter for reading and editing: "/>
											<template subtype="uservariable" match="$CurrentChapter">
												<children>
													<combobox xpath="$AllChapters">
														<children>
															<content/>
														</children>
													</combobox>
												</children>
												<variables/>
											</template>
										</children>
									</paragraph>
									<template subtype="element" filter="heading=$CurrentChapter" match="chapter">
										<children>
											<template subtype="element" match="heading">
												<children>
													<paragraph paragraphtag="h3">
														<children>
															<content>
																<styles text-decoration="underline"/>
															</content>
														</children>
													</paragraph>
												</children>
												<variables/>
											</template>
											<template subtype="element" match="subchapter">
												<children>
													<template subtype="element" match="heading">
														<children>
															<paragraph paragraphtag="h5">
																<children>
																	<content/>
																</children>
															</paragraph>
														</children>
														<variables/>
													</template>
													<template subtype="element" match="p">
														<children>
															<paragraph paragraphtag="p">
																<styles font-size="9pt"/>
																<children>
																	<content/>
																</children>
															</paragraph>
														</children>
														<variables/>
													</template>
													<newline/>
												</children>
												<variables/>
											</template>
										</children>
										<variables/>
									</template>
								</children>
								<variables>
									<variable name="CurrentChapter" value="&apos;&apos;" valuetype="xs:string" editable="1"/>
									<variable name="AllChapters" value=".//chapter/heading" valuetype="&lt;auto&gt;"/>
								</variables>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
