<?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/>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="BiggestCities.xsd" workingxmlfile="BiggestCities.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 chart example uses XPath to accumulate data per country and shows the sums in chart."/>
								</children>
							</paragraph>
							<template subtype="element" match="BiggestCities">
								<children>
									<text fixtext="List of the biggest cities in the world:">
										<styles text-decoration="underline"/>
									</text>
									<newline/>
									<newline/>
									<tgrid>
										<properties border="0" width="100%"/>
										<children>
											<tgridbody-cols>
												<children>
													<tgridcol/>
													<tgridcol>
														<properties width="50%"/>
													</tgridcol>
												</children>
											</tgridbody-cols>
											<tgridbody-rows>
												<children>
													<tgridrow>
														<children>
															<tgridcell>
																<properties valign="top"/>
																<children>
																	<tgrid>
																		<properties border="0"/>
																		<children>
																			<tgridbody-cols>
																				<children>
																					<tgridcol>
																						<styles width="1in"/>
																					</tgridcol>
																					<tgridcol>
																						<styles width="1.40in"/>
																					</tgridcol>
																					<tgridcol>
																						<styles width="0.79in"/>
																					</tgridcol>
																				</children>
																			</tgridbody-cols>
																			<tgridheader-rows>
																				<children>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<styles text-align="left"/>
																								<children>
																									<text fixtext="City">
																										<styles font-weight="bold"/>
																									</text>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<styles text-align="left"/>
																								<children>
																									<text fixtext="Country">
																										<styles font-weight="bold"/>
																									</text>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<styles text-align="right"/>
																								<children>
																									<text fixtext="Mio.">
																										<styles font-weight="bold"/>
																									</text>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																				</children>
																			</tgridheader-rows>
																			<tgridbody-rows>
																				<children>
																					<template subtype="element" match="City">
																						<children>
																							<tgridrow>
																								<children>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="name">
																												<children>
																													<content/>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="country">
																												<children>
																													<content/>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<styles text-align="right"/>
																										<children>
																											<template subtype="attribute" match="population">
																												<children>
																													<content>
																														<format basic-type="xsd" datatype="decimal"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																								</children>
																							</tgridrow>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridbody-rows>
																		</children>
																	</tgrid>
																</children>
															</tgridcell>
															<tgridcell>
																<properties valign="top"/>
																<children>
																	<chart>
																		<styles height="489px" width="320px"/>
																		<layer>
																			<dataset/>
																			<dataseries-xny-rows for-each="distinct-values(City/@country)" x-value="." auto-x-value="0">
																				<col y-value="for $i in . return sum($XML/BiggestCities/City[@country=$i]/@population)" y-name="&quot;Series 1&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="Pie" ShowLegend="0"/>
																			</chartsettings>
																			<chartsettings-xpath>
																				<main-properties/>
																				<color-properties/>
																				<colorrange-properties/>
																			</chartsettings-xpath>
																		</layer>
																	</chart>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
												</children>
											</tgridbody-rows>
										</children>
									</tgrid>
									<newline/>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
