<?xml version="1.0" encoding="UTF-8"?>
<structure version="15" 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>
			<xsdschemasource name="XML" main="1" schemafile="Data.xsd" workingxmlfile="Data.xml"/>
		</schemasources>
	</schemasources>
	<modules/>
	<flags>
		<scripts/>
		<mainparts/>
		<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="0.50in" headerfooterheight="variable" pagemultiplepages="0" pagenumberingformat="1" pagenumberingstartat="auto" pagestart="next" paperheight="11.69in" papermarginbottom="0.79in" papermarginfooter="0.0in" papermarginheader="0.0in" 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: Value Formatting"/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="info"/>
						<children>
							<text fixtext="This example shows how you can format numbers and dates in StyleVision. This format is applied in Authentic and, except for certain formatting field types and options, in XSLT as well."/>
						</children>
					</paragraph>
					<paragraph paragraphtag="p">
						<properties class="explanation"/>
						<children>
							<text fixtext="Value formatting (previously called input formatting) is applied by right clicking on a (content) element, and choosing &quot;Edit Value Formatting...&quot; from the context menu."/>
						</children>
					</paragraph>
					<template subtype="source" match="XML">
						<children>
							<template subtype="element" match="data">
								<children>
									<paragraph paragraphtag="p">
										<properties class="explanation"/>
										<children>
											<text fixtext="Date formatting:"/>
										</children>
									</paragraph>
									<template subtype="attribute" match="last-edited">
										<children>
											<tgrid>
												<properties border="1" width="100%"/>
												<children>
													<tgridbody-cols>
														<children>
															<tgridcol/>
															<tgridcol/>
															<tgridcol/>
														</children>
													</tgridbody-cols>
													<tgridbody-rows>
														<children>
															<tgridrow>
																<styles background-color="#e9ffe9" font-weight="bold"/>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="Style"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Format String"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Result"/>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="unformatted"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="(none)"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<content>
																				<format basic-type="xsd" datatype="date"/>
																			</content>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="US style"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="MM / DD / YYYY"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<content>
																				<format basic-type="xsd" string="MM / DD / YYYY" datatype="date"/>
																			</content>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="German style"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="DD. MM. YYYY"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<content>
																				<format basic-type="xsd" string="DD. MM. YYYY" datatype="date"/>
																			</content>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="Japanese style"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="YYYY&apos;年&apos;MM&apos;月&apos;DD&apos;日&apos;"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<content>
																				<format basic-type="xsd" string="YYYY&apos;年&apos;MM&apos;月&apos;DD&apos;日&apos;" datatype="date"/>
																			</content>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="Long style"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="Weekday&apos;,&apos; Month DD YYYY"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<content>
																				<format basic-type="xsd" string="Weekday&apos;,&apos; Month DD YYYY" datatype="date"/>
																			</content>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
													</tgridbody-rows>
												</children>
											</tgrid>
										</children>
										<variables/>
									</template>
									<paragraph paragraphtag="p">
										<properties class="explanation"/>
										<children>
											<text fixtext="Number formatting:"/>
										</children>
									</paragraph>
									<template subtype="element" match="numbers">
										<children>
											<template subtype="attribute" match="total">
												<children>
													<tgrid>
														<properties border="1" width="100%"/>
														<children>
															<tgridbody-cols>
																<children>
																	<tgridcol/>
																	<tgridcol/>
																	<tgridcol/>
																</children>
															</tgridbody-cols>
															<tgridbody-rows>
																<children>
																	<tgridrow>
																		<styles background-color="#e9ffe9" font-weight="bold"/>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="Style"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Format String"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="Result"/>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="unformatted"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="(none)"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<content>
																						<format basic-type="xsd" datatype="decimal"/>
																					</content>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="with decimal separators and 2 fraction digits"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="###,##0.00"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<content>
																						<format basic-type="xsd" string="###,##0.00" datatype="decimal"/>
																					</content>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<text fixtext="with decimal separators, 9 fixed places and 2 fraction digits"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<text fixtext="000,000,000.00"/>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<content>
																						<format basic-type="xsd" string="000,000,000.00" datatype="decimal"/>
																					</content>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
															</tgridbody-rows>
														</children>
													</tgrid>
												</children>
												<variables/>
											</template>
										</children>
										<variables/>
									</template>
									<paragraph paragraphtag="p">
										<properties class="explanation"/>
										<children>
											<text fixtext="AutoCalc formatting: The result of an XPath calculation can be formatted as well (although it can never be editable), the only difference being that since the resultant data type cannot be statically evaluated, you have to specify it in the input formatting dialog."/>
										</children>
									</paragraph>
									<tgrid>
										<properties border="1" width="100%"/>
										<children>
											<tgridbody-cols>
												<children>
													<tgridcol/>
													<tgridcol/>
													<tgridcol/>
												</children>
											</tgridbody-cols>
											<tgridbody-rows>
												<children>
													<tgridrow>
														<styles background-color="#e9ffe9" font-weight="bold"/>
														<children>
															<tgridcell>
																<children>
																	<text fixtext="Style"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="Format String"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="Result"/>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
													<tgridrow>
														<children>
															<tgridcell>
																<children>
																	<text fixtext="dateTime"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="MM / DD / YYYY hh:mm:ss.sss"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<autocalc xpath="&quot;2008-11-30T15:21:13.48&quot;">
																		<format basic-type="xsd" string="MM / DD / YYYY hh:mm:ss.sss" datatype="dateTime"/>
																	</autocalc>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
													<tgridrow>
														<children>
															<tgridcell>
																<children>
																	<text fixtext="duration"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="*Y &apos;yr,&apos; *M &apos;mth,&apos; *D &apos;dy,&apos; *h &apos;hr,&apos; *m &apos;min,&apos; *s.s* &apos;sec&apos;"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<autocalc xpath="&quot;P12M3DT14H3.47S&quot;">
																		<format basic-type="xsd" string="*Y &apos;yr,&apos; *M &apos;mth,&apos; *D &apos;dy,&apos; *h &apos;hr,&apos; *m &apos;min,&apos; *s.s* &apos;sec&apos;" datatype="duration"/>
																	</autocalc>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
													<tgridrow>
														<children>
															<tgridcell>
																<children>
																	<text fixtext="gYearMonth"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="&quot;month &quot;MM&quot; of &quot; YYYY"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<autocalc xpath="&quot;2008-11&quot;">
																		<format basic-type="xsd" string="&quot;month &quot;MM&quot; of &quot; YYYY" datatype="gYearMonth"/>
																	</autocalc>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
												</children>
											</tgridbody-rows>
										</children>
									</tgrid>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
