<?xml version="1.0" encoding="UTF-8"?>
<structure version="16" 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/>
		<mainparts/>
		<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"/>
						<watermark>
							<image transparency="50" fill-page="1" center-if-not-fill="1"/>
							<text transparency="50"/>
						</watermark>
					</documentsection>
					<template subtype="source" match="XML">
						<children>
							<paragraph paragraphtag="p">
								<properties class="info"/>
								<children>
									<text fixtext="Authentic validates document structure and content based on XML Schema associated with this document. This is one of examples demonstrating how to use Additional Validation feature in order to provide further validation criteria specific to this entry form."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="In this purchase order example basic validation is performed based on XML Schema rules: Part number must be a combination of 3 digits, dash and 2 letters and Quantity must be a number. If you try to enter some wrong data, like letters inside of quantity, the value will become red and when validating file you will get a validation error too."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="But in addition to these rules specified in XML Schemas we have defined 3 additional ones: Product name was limited to 13 characters, Quantity to max 5 and Shipping Date must be no older than year 2000."/>
								</children>
							</paragraph>
							<tgrid>
								<properties border="1"/>
								<children>
									<tgridbody-cols>
										<children>
											<tgridcol/>
											<tgridcol/>
											<tgridcol/>
											<tgridcol/>
											<tgridcol/>
											<tgridcol/>
										</children>
									</tgridbody-cols>
									<tgridheader-rows>
										<children>
											<tgridrow>
												<children>
													<tgridcell>
														<children>
															<text fixtext="Part number"/>
														</children>
													</tgridcell>
													<tgridcell>
														<children>
															<text fixtext="Product name"/>
														</children>
													</tgridcell>
													<tgridcell>
														<children>
															<text fixtext="Quantity"/>
														</children>
													</tgridcell>
													<tgridcell>
														<children>
															<text fixtext="Price"/>
														</children>
													</tgridcell>
													<tgridcell>
														<children>
															<text fixtext="Shipping date"/>
														</children>
													</tgridcell>
													<tgridcell>
														<children>
															<text fixtext="Comment"/>
														</children>
													</tgridcell>
												</children>
											</tgridrow>
										</children>
									</tgridheader-rows>
									<tgridbody-rows>
										<children>
											<template subtype="element" match="ipo:purchaseOrder">
												<children>
													<template subtype="element" match="Items">
														<children>
															<template subtype="element" match="item">
																<children>
																	<tgridrow>
																		<children>
																			<tgridcell>
																				<children>
																					<template subtype="attribute" match="partNum">
																						<children>
																							<content subtype="regular"/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="productName">
																						<children>
																							<content subtype="regular">
																								<addvalidations>
																									<addvalidation usermsg="Product Name is too long! It is limited to 13 characters" xpath="string-length() &lt;= 13"/>
																								</addvalidations>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<styles text-align="right"/>
																				<children>
																					<template subtype="element" match="quantity">
																						<children>
																							<content subtype="regular">
																								<addvalidations>
																									<addvalidation usermsg="Quantity is limited to 5 pieces!" xpath=". &lt;= 5"/>
																								</addvalidations>
																								<format basic-type="xsd" datatype="positiveInteger"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<styles text-align="right"/>
																				<children>
																					<template subtype="element" match="price">
																						<children>
																							<content subtype="regular">
																								<format basic-type="xsd" datatype="decimal"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="shipDate">
																						<children>
																							<content subtype="regular">
																								<addvalidations>
																									<addvalidation usermsg="Shipping date is out of range! Please enter dates starting with year 2000" xpath=". &gt;= xs:date( &apos;2000-01-01&apos; )"/>
																								</addvalidations>
																								<format basic-type="xsd" datatype="date"/>
																							</content>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																			<tgridcell>
																				<children>
																					<template subtype="element" match="ipo:comment">
																						<children>
																							<content subtype="regular"/>
																						</children>
																						<variables/>
																					</template>
																				</children>
																			</tgridcell>
																		</children>
																	</tgridrow>
																</children>
																<variables/>
															</template>
														</children>
														<variables/>
													</template>
												</children>
												<variables/>
											</template>
										</children>
									</tgridbody-rows>
								</children>
							</tgrid>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
