<?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" pastemode="xml" enable-authentic-scripts="1" authentic-scripts-in-debug-mode-external="0" generated-file-location="DEFAULT">
	<parameters/>
	<schemasources>
		<namespaces/>
		<schemasources>
			<dbschemasource name="DB" main="1">
				<database_connection database_kind="MS Access" import_kind="ADO" version="04.00.0000" name="altova" active="1" use_driver_for_retrieval="1">
					<properties>
						<property name="Database Kind" value="MS Access"/>
						<property name="Import Kind" value="ADO"/>
						<property name="Root Object" value="altova"/>
						<property name="Data Source" value="Import\altova.mdb"/>
						<property name="Provider" value="Microsoft.Jet.OLEDB.4.0"/>
						<property name="User ID"/>
						<property name="Password"/>
						<property name="Persist Security Info"/>
						<property name="Jet OLEDB:System Database"/>
						<property name="Jet OLEDB:Sandbox Mode"/>
						<property name="Jet OLEDB:Exclusive Async Delay"/>
						<property name="Jet OLEDB:Flush Transaction Timeout"/>
						<property name="Jet OLEDB:Implicit Commit Sync"/>
						<property name="Jet OLEDB:Lock Delay"/>
						<property name="Jet OLEDB:Lock Retry"/>
						<property name="Jet OLEDB:Max Buffer Size"/>
						<property name="Jet OLEDB:Max Locks Per File"/>
						<property name="Jet OLEDB:Page Locks to Table Lock"/>
						<property name="Jet OLEDB:Page Timeout"/>
						<property name="Jet OLEDB:Recycle Long-Valued Pages"/>
						<property name="Jet OLEDB:Shared Async Delay"/>
						<property name="Jet OLEDB:User Commit Sync"/>
						<property name="Jet OLEDB:Compact Without Replica Repair"/>
						<property name="Jet OLEDB:Create System Database"/>
						<property name="Jet OLEDB:Database Locking Mode"/>
						<property name="Jet OLEDB:Database Password"/>
						<property name="Jet OLEDB:New Database Password"/>
						<property name="Jet OLEDB:Registry Path"/>
					</properties>
					<LocalViewStorage/>
					<LocalRelationsStorage/>
				</database_connection>
				<dbselectedtablesandviews>
					<dbobject>
						<PathElement Name="altova" Kind="DataSource"/>
						<PathElement Name="altova" Kind="Database"/>
						<PathElement Name="Person" Kind="Table"/>
					</dbobject>
				</dbselectedtablesandviews>
				<FilterCollection/>
			</dbschemasource>
		</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>
		<rules selector=".info">
			<media>
				<media value="all"/>
			</media>
			<rule background-color="#f6f6ff" border="1px solid navy" color="navy" font-weight="bold" margin-bottom="12px" margin-top="12px" padding="2px"/>
		</rules>
		<rules selector=".explanation">
			<media>
				<media value="all"/>
			</media>
			<rule color="blue" font-style="italic" margin-bottom="12px"/>
		</rules>
	</globalstyles>
	<mainparts>
		<children>
			<globaltemplate subtype="main" match="/">
				<document-properties/>
				<children>
					<documentsection>
						<properties columncount="1" columngap="48px" headerfooterheight="variable" pagemultiplepages="0" pagenumberingformat="1" pagenumberingstartat="auto" pagestart="next" paperheight="11.69in" papermarginbottom="0.79in" papermarginfooter="0.5in" papermarginheader="0.5in" papermarginleft="0.6in" papermarginright="0.6in" papermargintop="0.79in" paperwidth="8.27in"/>
					</documentsection>
					<paragraph paragraphtag="h2">
						<styles border-bottom="2px solid navy" color="navy"/>
						<children>
							<text fixtext="Example: Databases"/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="info"/>
						<children>
							<text fixtext="StyleVision allows you to use various databases as data source for your designs. You can even use Authentic to edit the data and write it directly back into the database."/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="explanation"/>
						<children>
							<text fixtext="When you drag an element that represents a DB table from the schema tree to the design, StyleVision will automatically add DB navigation buttons as well (unless you disable that behavior in the toolbar or via the &quot;Authentic&quot; menu). Those DB navigation buttons are only active in Authentic where they enable you to scroll forwards and backwards, and to jump to a specific DB record number. Additionally, the Query button (not inserted by default) allows you to only retrieve a specific subset of records."/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="explanation"/>
						<children>
							<text fixtext="It is normally a good idea to first drag the DB table elements into the design, in order to create the navigation buttons and general layout, and thereafter drag the &apos;Row&apos; elements that show the individual DB rows."/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="explanation"/>
						<children>
							<text fixtext="The data itself is converted to XML attributes for viewing. A special attribute is &quot;AltovaRowStatus&quot; that indicates whether a row has been edited, added or is about to be deleted. (You cannot directly edit this attribute, however.)"/>
						</children>
					</paragraph>
					<template subtype="source" match="DB">
						<children>
							<template subtype="db" match="DB">
								<children>
									<template subtype="dbtable" match="Person">
										<editorproperties elementstodisplay="5"/>
										<children>
											<button>
												<action>
													<dbcontrol dbcontroltype="first"/>
												</action>
											</button>
											<button>
												<action>
													<dbcontrol dbcontroltype="prev"/>
												</action>
											</button>
											<button>
												<action>
													<dbcontrol dbcontroltype="goto"/>
												</action>
											</button>
											<button>
												<action>
													<dbcontrol/>
												</action>
											</button>
											<button>
												<action>
													<dbcontrol dbcontroltype="last"/>
												</action>
											</button>
											<text fixtext=" "/>
											<button>
												<action>
													<dbcontrol dbcontroltype="qry"/>
												</action>
											</button>
											<tgrid>
												<properties border="1"/>
												<styles width="100%"/>
												<children>
													<tgridbody-cols>
														<children>
															<tgridcol>
																<styles width="8%"/>
															</tgridcol>
															<tgridcol>
																<styles width="9%"/>
															</tgridcol>
															<tgridcol>
																<styles width="9%"/>
															</tgridcol>
															<tgridcol>
																<styles width="27%"/>
															</tgridcol>
															<tgridcol>
																<styles width="10%"/>
															</tgridcol>
															<tgridcol>
																<styles width="11%"/>
															</tgridcol>
															<tgridcol>
																<styles width="5%"/>
															</tgridcol>
															<tgridcol>
																<styles width="21%"/>
															</tgridcol>
														</children>
													</tgridbody-cols>
													<tgridheader-rows>
														<children>
															<tgridrow>
																<styles background-color="#e9ffe9"/>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="Altova Row Status"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Primary Key"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Foreign Key"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="EMail"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="First"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Last"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Phone Ext"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Title"/>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
													</tgridheader-rows>
													<tgridbody-rows>
														<children>
															<template subtype="dbrow" match="Row">
																<children>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="AltovaRowStatus">
																						<children>
																							<content/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="PrimaryKey">
																						<children>
																							<content>
																								<format basic-type="xsd" datatype="int"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="ForeignKey">
																						<children>
																							<content>
																								<format basic-type="xsd" datatype="int"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="EMail">
																						<children>
																							<content/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="First">
																						<children>
																							<content/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="Last">
																						<children>
																							<content/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="PhoneExt">
																						<children>
																							<content>
																								<format basic-type="xsd" datatype="int"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="dbfield" match="Title">
																						<children>
																							<content/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
																<variables/>
															</template>
														</children>
													</tgridbody-rows>
													<tgridfooter-rows>
														<children>
															<tgridrow>
																<styles background-color="#e9ffe9"/>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="Number of records retrieved:"/>
																		</children>
																	</tgridcell>
																	<tgridcell joinleft="1"/>
																	<tgridcell joinleft="1"/>
																	<tgridcell joinleft="1"/>
																	<tgridcell joinleft="1"/>
																	<tgridcell joinleft="1"/>
																	<tgridcell joinleft="1"/>
																	<tgridcell>
																		<children>
																			<autocalc xpath="count(Row)"/>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
													</tgridfooter-rows>
												</children>
											</tgrid>
										</children>
										<variables/>
									</template>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
