<?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="Products.xsd" workingxmlfile="Products.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 how to render HTML code embedded in a source XML file."/>
								</children>
							</paragraph>
							<paragraph paragraphtag="p">
								<properties class="explanation"/>
								<children>
									<text fixtext="In contrary to design elements in StyleVision, the embedded HTML code will be transferred as-is and therefore only make sense for HTML output."/>
								</children>
							</paragraph>
							<template subtype="element" match="Products">
								<children>
									<tgrid>
										<properties border="1" width="100%"/>
										<children>
											<tgridbody-cols>
												<children>
													<tgridcol>
														<styles width="20%"/>
													</tgridcol>
													<tgridcol>
														<styles width="80%"/>
													</tgridcol>
												</children>
											</tgridbody-cols>
											<tgridheader-rows>
												<children>
													<tgridrow>
														<children>
															<tgridcell>
																<children>
																	<text fixtext="Product name"/>
																</children>
															</tgridcell>
															<tgridcell>
																<children>
																	<text fixtext="Features"/>
																</children>
															</tgridcell>
														</children>
													</tgridrow>
												</children>
											</tgridheader-rows>
											<tgridbody-rows>
												<children>
													<template subtype="element" match="Product">
														<children>
															<tgridrow>
																<children>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="Name">
																				<children>
																					<content/>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																	<tgridcell>
																		<children>
																			<template subtype="element" match="Features">
																				<children>
																					<condition>
																						<children>
																							<conditionbranch xpath="$SV_OutputFormat = &apos;HTML&apos; or $SV_OutputFormat = &apos;Authentic&apos;">
																								<children>
																									<content>
																										<editorproperties disable-output-escaping="all"/>
																									</content>
																								</children>
																							</conditionbranch>
																							<conditionbranch>
																								<children>
																									<text fixtext="Embedded HTML content cannot be rendered in ">
																										<styles color="red"/>
																									</text>
																									<autocalc xpath="$SV_OutputFormat">
																										<styles color="red"/>
																									</autocalc>
																									<text fixtext="!">
																										<styles color="red"/>
																									</text>
																								</children>
																							</conditionbranch>
																						</children>
																					</condition>
																					<condition>
																						<children>
																							<conditionbranch xpath="$SV_OutputFormat != &apos;Authentic&apos;"/>
																							<conditionbranch>
																								<children>
																									<paragraph paragraphtag="p">
																										<styles border-top="dotted 1px"/>
																										<children>
																											<text fixtext="Note: Authentic is able to render embedded HTML code, but in rendered form it remains read-only. Whereas you still can edit the raw HTML code and see immediately all changes.">
																												<styles font-style="italic"/>
																											</text>
																										</children>
																									</paragraph>
																									<condition>
																										<children>
																											<conditionbranch xpath="xs:boolean( @ShowRawInAuthentic )">
																												<children>
																													<paragraph paragraphtag="p">
																														<children>
																															<template subtype="attribute" match="ShowRawInAuthentic">
																																<children>
																																	<checkbox checkedvalue="true" checkedvalue1="1">
																																		<children>
																																			<content/>
																																		</children>
																																	</checkbox>
																																</children>
																																<variables/>
																															</template>
																															<text fixtext="Now try to edit the raw HTML code below and see how the rendered text above changes accordingly.">
																																<styles color="red" font-style="italic"/>
																															</text>
																														</children>
																													</paragraph>
																													<paragraph paragraphtag="p">
																														<styles border="1px solid blue" font-family="Courier New" font-size="10pt" margin-left="3px" margin-right="3px"/>
																														<children>
																															<content/>
																														</children>
																													</paragraph>
																												</children>
																											</conditionbranch>
																											<conditionbranch>
																												<children>
																													<paragraph paragraphtag="p">
																														<children>
																															<template subtype="attribute" match="ShowRawInAuthentic">
																																<children>
																																	<checkbox checkedvalue="true" checkedvalue1="1">
																																		<children>
																																			<content/>
																																		</children>
																																	</checkbox>
																																</children>
																																<variables/>
																															</template>
																															<text fixtext="Click this check-box if you want to try this out">
																																<styles color="red" font-style="italic"/>
																															</text>
																														</children>
																													</paragraph>
																												</children>
																											</conditionbranch>
																										</children>
																									</condition>
																								</children>
																							</conditionbranch>
																						</children>
																					</condition>
																				</children>
																				<variables/>
																			</template>
																		</children>
																	</tgridcell>
																</children>
															</tgridrow>
														</children>
														<variables/>
													</template>
												</children>
											</tgridbody-rows>
										</children>
									</tgrid>
								</children>
								<variables/>
							</template>
						</children>
						<variables/>
					</template>
				</children>
			</globaltemplate>
		</children>
	</mainparts>
	<globalparts/>
	<designfragments/>
	<xmltables/>
	<authentic-custom-toolbar-buttons/>
</structure>
