<?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>
			<nspair prefix="ipo" uri="http://www.altova.com/IPO"/>
		</namespaces>
		<schemasources>
			<xsdschemasource name="XML" main="1" schemafile="ipo.xsd" workingxmlfile="ipo.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 demonstrates usage of Design Fragments"/>
								</children>
							</paragraph>
							<template subtype="element" match="ipo:purchaseOrder">
								<children>
									<paragraph paragraphtag="p">
										<properties class="explanation"/>
										<children>
											<text fixtext="The Design Fragments can be used for displaying similar data structures from different elements. The shipTo and billTo elements both have 3 identical fields - name, street and city. The Design Fragment uses these fields directly, and it gets a prefix text as parameter."/>
										</children>
									</paragraph>
									<template subtype="element" match="shipTo">
										<children>
											<calltemplate subtype="named" match="Address">
												<parameters>
													<parameter name="Prefix" value="&apos;Ship To&apos;"/>
												</parameters>
											</calltemplate>
											<text fixtext=" "/>
										</children>
										<variables/>
									</template>
									<paragraph/>
									<template subtype="element" match="billTo">
										<children>
											<calltemplate subtype="named" match="Address">
												<parameters>
													<parameter name="Prefix" value="&apos;Bill To&apos;"/>
												</parameters>
											</calltemplate>
											<text fixtext=" "/>
										</children>
										<variables/>
									</template>
									<paragraph paragraphtag="p">
										<properties class="explanation"/>
										<children>
											<text fixtext="The Design Fragments are also useful in order to achieve similar formatting or presentation of multiple textual objects"/>
										</children>
									</paragraph>
									<template subtype="element" match="Items">
										<children>
											<tgrid>
												<properties border="0"/>
												<children>
													<tgridbody-cols>
														<children>
															<tgridcol/>
															<tgridcol/>
															<tgridcol/>
															<tgridcol/>
														</children>
													</tgridbody-cols>
													<tgridheader-rows>
														<children>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<text fixtext="partNum"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="productName"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="quantity"/>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<text fixtext="price"/>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
													</tgridheader-rows>
													<tgridbody-rows>
														<children>
															<template subtype="element" match="item">
																<children>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<template subtype="attribute" match="partNum">
																						<children>
																							<calltemplate subtype="named" match="ReadOnlyContent">
																								<parameters/>
																							</calltemplate>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="productName">
																						<children>
																							<calltemplate subtype="named" match="ReadOnlyContent">
																								<parameters/>
																							</calltemplate>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="quantity">
																						<children>
																							<calltemplate subtype="named" match="EditableContent">
																								<parameters/>
																							</calltemplate>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="price">
																						<children>
																							<calltemplate subtype="named" match="EditableContent">
																								<parameters/>
																							</calltemplate>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
																<variables/>
															</template>
														</children>
													</tgridbody-rows>
												</children>
											</tgrid>
										</children>
										<variables/>
									</template>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments>
		<children>
			<globaltemplate subtype="named" match="Address">
				<parameters>
					<parameter name="Prefix" type="xs:string" default-value="&apos;&apos;"/>
				</parameters>
				<children>
					<paragraph>
						<children>
							<autocalc xpath="$Prefix">
								<styles text-decoration="underline"/>
							</autocalc>
							<text fixtext=": "/>
							<template subtype="element" match="ipo:name">
								<children>
									<content/>
								</children>
								<variables/>
							</template>
						</children>
					</paragraph>
					<paragraph>
						<children>
							<text fixtext="Address">
								<styles text-decoration="underline"/>
							</text>
							<text fixtext=": "/>
							<template subtype="element" match="ipo:street">
								<children>
									<content/>
								</children>
								<variables/>
							</template>
							<text fixtext=", "/>
							<template subtype="element" match="ipo:city">
								<children>
									<content/>
								</children>
								<variables/>
							</template>
						</children>
					</paragraph>
				</children>
			</globaltemplate>
			<globaltemplate subtype="named" match="ReadOnlyContent">
				<parameters/>
				<children>
					<content>
						<styles color="gray" font-style="italic"/>
					</content>
				</children>
			</globaltemplate>
			<globaltemplate subtype="named" match="EditableContent">
				<parameters/>
				<children>
					<editfield>
						<styles text-align="right" width="1in"/>
						<children>
							<content>
								<format basic-type="xsd" datatype="positiveInteger"/>
							</content>
						</children>
					</editfield>
				</children>
			</globaltemplate>
		</children>
	</designfragments>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
