<?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/>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="Candlestick.xsd" workingxmlfile="Candlestick.xml"/>
		</schemasources>
	</schemasources>
	<modules/>
	<flags>
		<scripts/>
		<mainparts/>
		<globalparts/>
		<designfragments/>
		<pagelayouts/>
		<xpath-functions>
			<xpath-function xpath-function="Average"/>
			<xpath-function xpath-function="StockName"/>
		</xpath-functions>
	</flags>
	<scripts>
		<script language="javascript"/>
	</scripts>
	<script-project>
		<Project version="2" app="AuthenticView"/>
	</script-project>
	<importedxslt/>
	<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>
							<template subtype="element" match="Trades">
								<children>
									<newline/>
									<text fixtext="Stock Prices">
										<styles color="#023d7d" font-family="Tahoma" font-size="20pt" font-weight="bold"/>
									</text>
									<newline/>
									<line>
										<properties color="#003d80" size="4"/>
										<styles margin-top="1em"/>
									</line>
									<template subtype="element" match="Selection">
										<children>
											<newline/>
											<text fixtext="Select the stock you wish to view and the period for which you wish to view its price movement. You can also modify the value-range of the Y-Axis.">
												<styles font-style="italic"/>
											</text>
											<newline/>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="1em"/>
												<children>
													<template subtype="element" match="Stock">
														<children>
															<text fixtext="Stock:      ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext="            ">
																<styles font-family="Lucida Console"/>
															</text>
															<combobox xpath="for $i in //Stock/@name return distinct-values($i)" xpath-values="for $i in //Stock/@name return distinct-values($i)" values-from-xpath="1">
																<properties size="1"/>
																<styles font-family="Lucida Console" font-size="9pt" font-weight="bold" width="1.20in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</combobox>
														</children>
														<variables/>
													</template>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="0.2em"/>
												<children>
													<template subtype="element" match="StartDate">
														<children>
															<text fixtext="Start date: ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext="            ">
																<styles font-family="Lucida Console"/>
															</text>
															<combobox xpath="for $i in /Trades/Stock[@name=/Trades/Selection/Stock]/Day return distinct-values(concat(string($i/@year), &apos;-&apos;, $i/@month, &apos;-&apos;, string($i/@date)))" xpath-values="for $i in /Trades/Stock[@name=/Trades/Selection/Stock]/Day return $i/@id" values-from-xpath="1">
																<properties size="1"/>
																<styles font-family="Lucida Console" font-size="9pt" font-weight="normal" width="1.20in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</combobox>
														</children>
														<variables/>
													</template>
													<text fixtext=" "/>
													<condition>
														<children>
															<conditionbranch xpath="$SV_OutputFormat = &apos;Authentic&apos;">
																<children>
																	<condition>
																		<children>
																			<conditionbranch xpath="StartDate gt EndDate">
																				<children>
																					<text fixtext="Start date greater than End Date">
																						<styles color="red"/>
																					</text>
																				</children>
																			</conditionbranch>
																		</children>
																	</condition>
																</children>
															</conditionbranch>
														</children>
													</condition>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="0.2em"/>
												<children>
													<template subtype="element" match="EndDate">
														<children>
															<text fixtext="End date:   ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext="            ">
																<styles font-family="Lucida Console"/>
															</text>
															<combobox xpath="for $i in /Trades/Stock[@name=/Trades/Selection/Stock]/Day return distinct-values(concat(string($i/@year), &apos;-&apos;, $i/@month, &apos;-&apos;, string($i/@date)))" xpath-values="for $i in /Trades/Stock[@name=/Trades/Selection/Stock]/Day return $i/@id" values-from-xpath="1">
																<styles font-family="Lucida Console" font-size="9pt" font-weight="normal" width="1.20in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</combobox>
														</children>
														<variables/>
													</template>
													<text fixtext=" "/>
													<condition>
														<children>
															<conditionbranch xpath="$SV_OutputFormat = &apos;Authentic&apos;">
																<children>
																	<condition>
																		<children>
																			<conditionbranch xpath="StartDate gt EndDate">
																				<children>
																					<text fixtext="End date lesser than Start Date">
																						<styles color="red"/>
																					</text>
																				</children>
																			</conditionbranch>
																		</children>
																	</condition>
																</children>
															</conditionbranch>
														</children>
													</condition>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="0.2em"/>
												<children>
													<template subtype="element" match="YAxisStart">
														<children>
															<text fixtext="Y-Axis start: ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext="          ">
																<styles font-family="Lucida Console"/>
															</text>
															<editfield>
																<styles font-family="Lucida Console" height="0.11in" width="1.10in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</editfield>
														</children>
														<variables/>
													</template>
													<text fixtext=" (Lowest value in selected period: "/>
													<autocalc xpath="for $i in /Trades/Selection return min(/Trades/Stock[@name=$i/Stock]/Day[@id ge $i/StartDate][@id le $i/EndDate]/Low )">
														<styles _xcolor="if ((for $i in /Trades/Selection return min(/Trades/Stock[@name=$i/Stock]/Day[@id ge $i/StartDate][@id le $i/EndDate]/Low )) lt YAxisStart) then (&apos;red&apos;) else (&apos;black&apos;)"/>
													</autocalc>
													<text fixtext=")"/>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="0.2em"/>
												<children>
													<template subtype="element" match="YAxisEnd">
														<children>
															<text fixtext="Y-Axis end:   ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext="          ">
																<styles font-family="Lucida Console"/>
															</text>
															<editfield>
																<styles font-family="Lucida Console" height="0.11in" width="1.10in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</editfield>
														</children>
														<variables/>
													</template>
													<text fixtext=" (Highest value in selected period: "/>
													<autocalc xpath="for $i in /Trades/Selection return max(/Trades/Stock[@name=$i/Stock]/Day[@id ge $i/StartDate][@id le $i/EndDate]/High )">
														<styles _xcolor="if ((for $i in /Trades/Selection return max(/Trades/Stock[@name=$i/Stock]/Day[@id ge $i/StartDate][@id le $i/EndDate]/High )) gt YAxisEnd) then (&apos;red&apos;) else (&apos;black&apos;)"/>
													</autocalc>
													<text fixtext=")"/>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Lucida Console" font-size="9pt" margin-top="0.2em"/>
												<children>
													<template subtype="element" match="YAxisTickInterval">
														<children>
															<text fixtext="Y-Axis tick interval: ">
																<styles font-family="Lucida Console" font-weight="bold"/>
															</text>
															<text fixtext=" ">
																<styles font-family="Lucida Console"/>
															</text>
															<combobox xpath="1, 2, 4, 5, 10, 20, 40, 50, 100, 200, 400, 500, 1000, 2000, 5000, 10000" xpath-values="1, 2, 4, 5, 10, 20, 40, 50, 100, 200, 400, 500, 1000, 2000, 5000, 10000" values-from-xpath="1">
																<styles font-family="Lucida Console" font-size="9pt" font-weight="normal" width="1.20in"/>
																<children>
																	<content subtype="regular">
																		<format basic-type="xsd" datatype="int"/>
																	</content>
																</children>
															</combobox>
														</children>
														<variables/>
													</template>
												</children>
											</paragraph>
										</children>
										<variables/>
									</template>
									<newline/>
									<line>
										<properties color="#003d80" size="2"/>
										<styles margin-top="1em"/>
									</line>
									<template subtype="element" filter="@name=/Trades/Selection/Stock" match="Stock">
										<children>
											<newline/>
											<chart map-data-categories="1">
												<styles background-color="#ff5780" border="1px solid black" height="300px" width="450px"/>
												<layer>
													<dataset>
														<dataseries for-each="." series-name="&quot;High&quot;" x-value="Day" y-value="Day/High"/>
														<dataseries for-each="." series-name="&quot;Low&quot;" x-value="Day" y-value="DayLow"/>
														<dataseries for-each="." series-name="&quot;Close&quot;" x-value="Day" y-value="Day/Close"/>
													</dataset>
													<dataseries-xny-rows for-each="Day[@id ge /Trades/Selection/StartDate and @id le /Trades/Selection/EndDate]" x-value="concat(@date, &apos;-&apos;, @month)" auto-x-value="0">
														<col y-value="Open" y-name="&quot;Series 1&quot;"/>
														<col y-value="High" y-name="&quot;Series 2&quot;"/>
														<col y-value="Low" y-name="&quot;Series 3&quot;"/>
														<col y-value="Close" y-name="&quot;Series 4&quot;"/>
													</dataseries-xny-rows>
													<wizard-data remove-empty-cat="1" remove-empty-ser="1">
														<wizard-data-categories/>
														<wizard-data-series/>
													</wizard-data>
													<chartsettings>
														<General SettingsVersion="2" ChartKind="CandleStick" BKColor="#e1e1e1" BKColorGradientEnd="#cce8ff" PlotBKColorGradientEnd="#e8ffe9" ShowLegend="0">
															<TitleFont Color="#004080" Size="6.%"/>
															<LegendFont Size="6.%"/>
															<AxisLabelFont Color="#004080" Name="Arial" Size="4.5%"/>
														</General>
														<XY>
															<XAxis AxisLabel="Date" AxisGridColor="#a0a0a4">
																<ValueFont Size="3.5%"/>
															</XAxis>
															<YAxis AutoRange="0" AutoRangeIncludesZero="0" RangeFrom="30." RangeTill="60." AxisLabel="Value" AxisGridColor="#e1e1e1" UseAutoTick="0" ManualTickInterval="10.">
																<ValueFont Size="3.5%"/>
															</YAxis>
														</XY>
													</chartsettings>
													<chartsettings-xpath>
														<main-properties>
															<main-property location="ChartSettings/General/@Title" xpath="for $i in /Trades/Selection return for $p in /Trades/Stock[@name=$i/Stock] return concat($i/Stock, ': ', $p/Day[@id=$i/StartDate][1]/@date, ' ',$p/Day[@id=$i/StartDate][1]/@month, ' ', $p/Day[@id=$i/StartDate][1]/@year, ' to ', $p/Day[@id=$i/EndDate][1]/@date, ' ', $p/Day[@id=$i/EndDate][1]/@month, ' ', $p/Day[@id=$i/EndDate][1]/@year)"/>
															<main-property location="ChartSettings/XY/YAxis/@RangeFrom" xpath="/Trades/Selection/YAxisStart"/>
															<main-property location="ChartSettings/XY/YAxis/@RangeTill" xpath="/Trades/Selection/YAxisEnd"/>
															<main-property location="ChartSettings/XY/YAxis/@ManualTickInterval" xpath="/Trades/Selection/YAxisTickInterval"/>
														</main-properties>
														<color-properties/>
														<colorrange-properties/>
													</chartsettings-xpath>
												</layer>
											</chart>
											<text fixtext=" "/>
											<newline/>
											<newline/>
											<paragraph>
												<styles font-family="Tahoma" font-size="9pt" font-weight="bold" margin-top="2em"/>
												<children>
													<text fixtext="Last six reported days"/>
												</children>
											</paragraph>
											<paragraph>
												<styles margin-bottom="0.6em"/>
												<children>
													<text fixtext="You can add data for a new trading day by right-clicking in a row and selecting Insert Day.">
														<styles font-family="Arial" font-size="10pt" font-style="italic" font-weight="normal"/>
													</text>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Tahoma" font-size="9pt"/>
												<children>
													<tgrid>
														<properties border="1px" cellpadding="3px" cellspacing="0" frame="box" rules="all"/>
														<styles text-align="center"/>
														<children>
															<tgridbody-cols>
																<children>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																</children>
															</tgridbody-cols>
															<tgridheader-rows>
																<children>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="Week"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Year"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Month"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Date"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="ID (YYYYMMDD)"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Open"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="High"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Low"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Close"/>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
															</tgridheader-rows>
															<tgridbody-rows>
																<children>
																	<template subtype="element" filter="position() ge last()-5" match="Day">
																		<children>
																			<tgridrow>
																				<children>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="week">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="year">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="month">
																								<children>
																									<content subtype="regular"/>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="date">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="id">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Open">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="High">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Low">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Close">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																				</children>
																			</tgridrow>
																		</children>
																		<variables/>
																	</template>
																</children>
															</tgridbody-rows>
														</children>
													</tgrid>
												</children>
											</paragraph>
											<line>
												<properties color="#003d80" size="2"/>
												<styles margin-top="1em"/>
											</line>
											<newline/>
											<chart map-data-categories="1">
												<styles background-color="#ff5780" border="1px solid black" height="300px" width="450px"/>
												<layer>
													<dataset>
														<dataseries for-each="." series-name="&quot;High&quot;" x-value="Day" y-value="Day/High"/>
														<dataseries for-each="." series-name="&quot;Low&quot;" x-value="Day" y-value="DayLow"/>
														<dataseries for-each="." series-name="&quot;Close&quot;" x-value="Day" y-value="Day/Close"/>
													</dataset>
													<dataseries-xny-rows for-each="Day[@week= /Trades/Selection/WeekToView]" x-value="concat(@date, &apos;-&apos;, @month)" auto-x-value="0">
														<col y-value="Open" y-name="&quot;Series 1&quot;"/>
														<col y-value="High" y-name="&quot;Series 2&quot;"/>
														<col y-value="Low" y-name="&quot;Series 3&quot;"/>
														<col y-value="Close" y-name="&quot;Series 4&quot;"/>
													</dataseries-xny-rows>
													<wizard-data remove-empty-cat="1" remove-empty-ser="1">
														<wizard-data-categories/>
														<wizard-data-series/>
													</wizard-data>
													<chartsettings>
														<General SettingsVersion="2" ChartKind="CandleStick" BKColor="#e1e1e1" BKColorGradientEnd="#cce8ff" PlotBKColorGradientEnd="#e8ffe9" ShowLegend="0">
															<TitleFont Color="#004080" Size="6.%"/>
															<LegendFont Size="6.%"/>
															<AxisLabelFont Color="#004080" Name="Arial" Size="4.5%"/>
														</General>
														<XY>
															<XAxis AxisLabel="Date" AxisGridColor="#a0a0a4">
																<ValueFont Size="3.5%"/>
															</XAxis>
															<YAxis AutoRange="0" AutoRangeIncludesZero="0" RangeFrom="30." RangeTill="60." AxisLabel="Value" AxisGridColor="#e1e1e1" UseAutoTick="0" ManualTickInterval="10.">
																<ValueFont Size="3.5%"/>
															</YAxis>
														</XY>
													</chartsettings>
													<chartsettings-xpath>
														<main-properties>
															<main-property location="ChartSettings/General/@Title" xpath="for $i in /Trades/Selection return for $p in /Trades/Stock[@name=$i/Stock] return concat($i/Stock, ': ', $p/Day[@week=$i/WeekToView][1]/@date, ' ',$p/Day[@week=$i/WeekToView][1]/@month, ' ', $p/Day[@week=$i/WeekToView][1]/@year, ' to ', $p/Day[@week=$i/WeekToView][last()]/@date, ' ', $p/Day[@week=$i/WeekToView][last()]/@month, ' ', $p/Day[@week=$i/WeekToView][last()]/@year)"/>
															<main-property location="ChartSettings/XY/YAxis/@RangeFrom" xpath="min(distinct-values(/Trades/Stock/Day[@week=/Trades/Selection/WeekToView]/*)) - 10"/>
															<main-property location="ChartSettings/XY/YAxis/@RangeTill" xpath="max(distinct-values(/Trades/Stock/Day[@week=/Trades/Selection/WeekToView]/*)) + 10"/>
															<main-property location="ChartSettings/XY/YAxis/@ManualTickInterval" xpath="round-half-to-even( (max(distinct-values(/Trades/Stock/Day[@week=/Trades/Selection/WeekToView]/*)) - min(distinct-values(/Trades/Stock/Day[@week=/Trades/Selection/WeekToView]/*)) + 20), -1) div 10"/>
														</main-properties>
														<color-properties/>
														<colorrange-properties/>
													</chartsettings-xpath>
												</layer>
											</chart>
											<newline/>
											<newline/>
											<paragraph>
												<styles font-family="Tahoma" font-size="10pt" font-weight="bold" margin-bottom="0.6em"/>
												<children>
													<text fixtext="Week to view: "/>
													<template subtype="source" match="XML">
														<children>
															<template subtype="element" match="Trades">
																<children>
																	<template subtype="element" match="Selection">
																		<children>
																			<template subtype="element" match="WeekToView">
																				<children>
																					<combobox xpath="for $i in /Trades/Selection/Stock return for $p in distinct-values(/Trades/Stock[@name=$i]/Day/@week) return concat(/Trades/Stock[@name=$i]/Day[@week=$p][position()=1]/@year, &apos;: &apos;, /Trades/Stock[@name=$i]/Day[@week=$p][position()=1]/@month, &apos;-&apos;, /Trades/Stock[@name=$i]/Day[@week=$p][position()=1]/@date, &apos; to &apos;, /Trades/Stock[@name=$i]/Day[@week=$p][position()=last()]/@month, &apos;-&apos;, /Trades/Stock[@name=$i]/Day[@week=$p][position()=last()]/@date)" xpath-values="for $i in /Trades/Selection/Stock return distinct-values(/Trades/Stock[@name=$i]/Day/@week)" values-from-xpath="1">
																						<styles font-family="Lucida Console" font-size="9pt" width="1.89in"/>
																						<children>
																							<content subtype="regular">
																								<format basic-type="xsd" datatype="int"/>
																							</content>
																						</children>
																					</combobox>
																				</children>
																				<variables/>
																			</template>
																		</children>
																		<variables/>
																	</template>
																</children>
																<variables/>
															</template>
														</children>
														<variables/>
													</template>
												</children>
											</paragraph>
											<paragraph>
												<styles font-family="Tahoma" font-size="9pt" margin-bottom="1em"/>
												<children>
													<tgrid>
														<properties border="1px" cellpadding="3px" cellspacing="0" frame="box" rules="all"/>
														<styles text-align="center"/>
														<children>
															<tgridbody-cols>
																<children>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																</children>
															</tgridbody-cols>
															<tgridheader-rows>
																<children>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="Week"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Year"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Month"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Date"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="ID (YYYYMMDD)"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Open"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="High"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Low"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Close"/>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
															</tgridheader-rows>
															<tgridbody-rows>
																<children>
																	<template subtype="element" filter="@week=/Trades/Selection/WeekToView" match="Day">
																		<children>
																			<tgridrow>
																				<children>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="week">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="year">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="month">
																								<children>
																									<content subtype="regular"/>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="date">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="attribute" match="id">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Open">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="High">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Low">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																					<tgridcell>
																						<children>
																							<template subtype="element" match="Close">
																								<children>
																									<content subtype="regular">
																										<format basic-type="xsd" datatype="int"/>
																									</content>
																								</children>
																								<variables/>
																							</template>
																						</children>
																					</tgridcell>
																				</children>
																			</tgridrow>
																		</children>
																		<variables/>
																	</template>
																</children>
															</tgridbody-rows>
														</children>
													</tgrid>
												</children>
											</paragraph>
										</children>
										<variables/>
									</template>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
	<xpath-functions>
		<xpath-function name="Stock" value="$ContextStock[@name=$Selection]/$StockInfo"/>
		<xpath-function-name>
			<variable name="ContextStock" valuetype="xs:string" occurrence="one-or-more"/>
			<variable name="Selection" valuetype="xs:string"/>
			<variable name="StockInfo" valuetype="xs:string"/>
		</xpath-function-name>
	</xpath-functions>
	<xpath-functions>
		<xpath-function name="StockName" value="$XML/Trades/Stock[@name=/Trades/Selection/Stock]/@name"/>
		<xpath-function-name/>
	</xpath-functions>
	<xpath-functions>
		<xpath-function name="Average" value="avg( ($a, $b, $c) )"/>
		<xpath-function-name>
			<variable name="a" valuetype="xs:integer" occurrence="none-or-one"/>
			<variable name="b" valuetype="xs:integer"/>
			<variable name="c" valuetype="xs:integer"/>
		</xpath-function-name>
	</xpath-functions>
	<xpath-functions>
		<xpath-function name="Stocks" value="$XML/Trades/Stock"/>
		<xpath-function-name/>
	</xpath-functions>
	<xpath-functions>
		<xpath-function name="Selection" value="$XML/Trades/Selection/Stock"/>
		<xpath-function-name/>
	</xpath-functions>
	<xpath-functions>
		<xpath-function name="stockjoin" value="string-join( $param, &apos;..-..&apos;)"/>
		<xpath-function-name>
			<variable name="param" valuetype="xs:string" occurrence="one-or-more"/>
		</xpath-function-name>
	</xpath-functions>
</structure>
