<?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 is an extension of the BiggestCitiesPerContinent example. It shows a small subset of possible Chart settings which can be modified dynamically. Use Authentic view to type Title, change Angle, Tilt, Colors, or enable Legend."/>
								</children>
							</paragraph>
							<template subtype="element" match="BiggestCities">
								<children>
									<tgrid>
										<properties border="0" width="100%"/>
										<children>
											<tgridbody-cols>
												<children>
													<tgridcol>
														<styles width="2.50in"/>
													</tgridcol>
													<tgridcol>
														<styles width="5.50in"/>
													</tgridcol>
												</children>
											</tgridbody-cols>
											<tgridbody-rows>
												<children>
													<tgridrow>
														<children>
															<tgridcell>
																<children>
																	<tgrid>
																		<properties border="0"/>
																		<children>
																			<tgridbody-cols>
																				<children>
																					<tgridcol>
																						<styles width="0.80in"/>
																					</tgridcol>
																					<tgridcol>
																						<styles width="2.15in"/>
																					</tgridcol>
																				</children>
																			</tgridbody-cols>
																			<tgridbody-rows>
																				<children>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Title:"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$Titlle">
																										<children>
																											<editfield>
																												<children>
																													<content/>
																												</children>
																											</editfield>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Angle:"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$StartingAngle">
																										<children>
																											<combobox>
																												<children>
																													<content>
																														<format basic-type="xsd" datatype="integer"/>
																													</content>
																												</children>
																												<selectoption description="0" value="0"/>
																												<selectoption description="45" value="45"/>
																												<selectoption description="90" value="90"/>
																												<selectoption description="135" value="135"/>
																												<selectoption description="180" value="180"/>
																												<selectoption description="225" value="225"/>
																												<selectoption description="270" value="270"/>
																												<selectoption description="315" value="315"/>
																											</combobox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Tilt:"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$Tilt">
																										<children>
																											<combobox>
																												<children>
																													<content>
																														<format basic-type="xsd" datatype="integer"/>
																													</content>
																												</children>
																												<selectoption description="10" value="10"/>
																												<selectoption description="20" value="20"/>
																												<selectoption description="30" value="30"/>
																												<selectoption description="40" value="40"/>
																												<selectoption description="50" value="50"/>
																												<selectoption description="60" value="60"/>
																												<selectoption description="70" value="70"/>
																												<selectoption description="80" value="80"/>
																												<selectoption description="90" value="90"/>
																											</combobox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Colors:"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$ColorPalette">
																										<children>
																											<combobox>
																												<children>
																													<content>
																														<format basic-type="xsd" datatype="int"/>
																													</content>
																												</children>
																												<selectoption description="Default" value="Default"/>
																												<selectoption description="Grayscale" value="Grayscale"/>
																												<selectoption description="Colorful" value="Colorful"/>
																												<selectoption description="Pastel" value="Pastel"/>
																											</combobox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Values"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$AddValues">
																										<children>
																											<checkbox checkedvalue="true" checkedvalue1="1">
																												<children>
																													<content/>
																												</children>
																											</checkbox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Percents"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$AddPercents">
																										<children>
																											<checkbox checkedvalue="true" checkedvalue1="1">
																												<children>
																													<content/>
																												</children>
																											</checkbox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																					<tgridrow>
																						<children>
																							<tgridcell>
																								<children>
																									<text fixtext="Legend:"/>
																								</children>
																							</tgridcell>
																							<tgridcell>
																								<children>
																									<template subtype="uservariable" match="$Legend">
																										<children>
																											<checkbox checkedvalue="true" checkedvalue1="1">
																												<children>
																													<content/>
																												</children>
																											</checkbox>
																										</children>
																										<variables/>
																									</template>
																								</children>
																							</tgridcell>
																						</children>
																					</tgridrow>
																				</children>
																			</tgridbody-rows>
																		</children>
																	</tgrid>
																</children>
															</tgridcell>
															<tgridcell>
																<styles text-align="center"/>
																<children>
																	<chart>
																		<styles height="273px" width="451px"/>
																		<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>
																					<main-property location="ChartSettings/General/@Title" xpath="$Titlle"/>
																					<main-property location="ChartSettings/General/@ShowLegend" xpath="$Legend"/>
																					<main-property location="ChartSettings/Colors/@Style" xpath="$ColorPalette"/>
																					<main-property location="ChartSettings/Pie/@StartAngle" xpath="$StartingAngle"/>
																					<main-property location="ChartSettings/Pie/@Tilt" xpath="$Tilt"/>
																					<main-property location="ChartSettings/Pie/@AddValueToLabels" xpath="$AddValues"/>
																					<main-property location="ChartSettings/Pie/@AddPercentToLabels" xpath="$AddPercents"/>
																				</main-properties>
																				<color-properties/>
																				<colorrange-properties/>
																			</chartsettings-xpath>
																		</layer>
																	</chart>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
												</children>
											</tgridbody-rows>
										</children>
									</tgrid>
									<newline/>
									<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:integer" editable="1"/>
									<variable name="Tilt" value="40" valuetype="xs:integer" editable="1"/>
									<variable name="ColorPalette" value="&apos;Default&apos;" valuetype="xs:string" editable="1"/>
									<variable name="Legend" value="false()" valuetype="xs:boolean" editable="1"/>
									<variable name="AddValues" value="false()" valuetype="xs:boolean" editable="1"/>
									<variable name="AddPercents" value="false()" valuetype="xs:boolean" editable="1"/>
								</variables>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
