<?xml version="1.0" encoding="UTF-8"?>
<structure version="16" 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/>
		<mainparts/>
		<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"/>
						<watermark>
							<image transparency="50" fill-page="1" center-if-not-fill="1"/>
							<text transparency="50"/>
						</watermark>
					</documentsection>
					<template subtype="source" match="XML">
						<children>
							<paragraph paragraphtag="p">
								<properties class="info"/>
								<children>
									<text fixtext="This example demonstrates how to use &quot;dynamic&quot; Bookmarks by marking specific chapters in source the XML file with IDs and referencing to these IDs in other locations of the same XML file. If you are looking for a method to collect Bookmarks automatically into a Table-of-Contents without referencing them explicitly in source XML file, please use TOC.sps sample instead."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="You can use IDs and references to them by means of Bookmarks and Hyperlinks, which use dynamic names (XPath statements). In Authentic use Ctrl-Click for jumps to bookmarks (simple click will allow you to edit the content of the hyperlink), in all other outputs a simple mouse-click is enough."/>
								</children>
							</paragraph>
							<template subtype="element" match="book">
								<children>
									<template subtype="element" match="overview">
										<children>
											<paragraph paragraphtag="h2">
												<children>
													<template subtype="element" match="p">
														<children>
															<content subtype="regular"/>
															<text fixtext=" "/>
														</children>
														<variables/>
													</template>
												</children>
											</paragraph>
										</children>
										<variables/>
									</template>
									<template subtype="element" match="chapter">
										<children>
											<template subtype="element" match="heading">
												<children>
													<paragraph paragraphtag="h3">
														<children>
															<bookmark>
																<children>
																	<content subtype="regular">
																		<styles text-decoration="underline"/>
																	</content>
																</children>
																<action>
																	<none/>
																</action>
																<bookmark>
																	<xpath value="@id"/>
																</bookmark>
															</bookmark>
														</children>
													</paragraph>
												</children>
												<variables/>
											</template>
											<template subtype="element" match="subchapter">
												<children>
													<template subtype="element" match="heading">
														<children>
															<paragraph paragraphtag="h5">
																<children>
																	<bookmark>
																		<children>
																			<content subtype="regular"/>
																		</children>
																		<action>
																			<none/>
																		</action>
																		<bookmark>
																			<xpath value="@id"/>
																		</bookmark>
																	</bookmark>
																</children>
															</paragraph>
														</children>
														<variables/>
													</template>
													<template subtype="element" match="p">
														<children>
															<paragraph paragraphtag="p">
																<styles font-size="9pt"/>
																<children>
																	<content subtype="regular"/>
																</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>
		<children>
			<globaltemplate subtype="element" match="f:marker" schema-tree-path="f:marker">
				<children>
					<template subtype="element" match="f:marker">
						<children>
							<link>
								<children>
									<content subtype="regular"/>
								</children>
								<action>
									<none/>
								</action>
								<hyperlink>
									<fixtext value="#"/>
									<xpath value="@ref"/>
								</hyperlink>
							</link>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</globalparts>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
