<?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 example uses XPath to accumulate data per continent. It also shows how to split a table into two by using the position() function."/>
								</children>
							</paragraph>
							<template subtype="element" match="BiggestCities">
								<children>
									<paragraph>
										<styles text-align="center"/>
										<children>
											<chart>
												<styles height="273px" width="567px"/>
												<layer>
													<dataset/>
													<dataseries-xny-rows for-each="distinct-values(City/@continent)" x-value="." auto-x-value="0">
														<col y-value="for $i in . return sum($XML/BiggestCities/City[@continent=$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="Pie3d" ShowLegend="0"/>
														<Pie StartAngle="90.">
															<LabelFont Size="14.pt"/>
														</Pie>
													</chartsettings>
													<chartsettings-xpath>
														<main-properties/>
														<color-properties/>
														<colorrange-properties/>
													</chartsettings-xpath>
												</layer>
											</chart>
										</children>
									</paragraph>
									<paragraph>
										<styles text-align="center"/>
										<children>
											<text fixtext="List of the biggest cities in the world:">
												<styles text-decoration="underline"/>
											</text>
										</children>
									</paragraph>
									<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.25in"/>
																					</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="userdefined" match="for $i in count(City) div 2 return City[position()&lt;=$i]">
																						<children>
																							<tgridrow>
																								<children>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="name">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="country">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<styles text-align="right"/>
																										<children>
																											<template subtype="attribute" match="population">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																														<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>
																	<tgrid>
																		<properties border="0"/>
																		<children>
																			<tgridbody-cols>
																				<children>
																					<tgridcol>
																						<styles width="1in"/>
																					</tgridcol>
																					<tgridcol>
																						<styles width="1.25in"/>
																					</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="userdefined" match="for $i in count(City) div 2 return City[position()&gt;$i]">
																						<children>
																							<tgridrow>
																								<children>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="name">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<children>
																											<template subtype="attribute" match="country">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																									<tgridcell>
																										<styles text-align="right"/>
																										<children>
																											<template subtype="attribute" match="population">
																												<children>
																													<content>
																														<styles font-size="10pt"/>
																														<format basic-type="xsd" datatype="decimal"/>
																													</content>
																												</children>
																												<variables/>
																											</template>
																										</children>
																									</tgridcell>
																								</children>
																							</tgridrow>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridbody-rows>
																		</children>
																	</tgrid>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
												</children>
											</tgridbody-rows>
										</children>
									</tgrid>
									<newline/>
								</children>
								<variables>
									<variable name="Titlle" value="&apos;&apos;" valuetype="xs:string" editable="1"/>
									<variable name="StartingAngle" value="90" valuetype="xs:int" editable="1"/>
								</variables>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
