Files
alfresco-community-repo/source/test-resources/xforms/tests/rendering-engine/include-webscript-test.xsl
Gavin Cornwell e13b3f6414 Merged V3.2 to HEAD
15292: Solution for MOB-536 (Remove form-include virtualization server dependencies from Web Forms)
   15299: Fix for ETHREEOH-896 and partial fix for ETHREEOH-1923: XForms layout issues
   15501: MOB-947: Remove virtualisation server dependency from the TinyMCE control used in web forms. Preview URL has been replaced with a call to the 'avm' webscript.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16904 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-14 10:26:07 +00:00

30 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="xhtml">
<xsl:output method="html" version="4.01" encoding="UTF-8" indent="yes"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"/>
<xsl:preserve-space elements="*"/>
<xsl:include href="webscript://api/path/content/avm/%7Bstoreid%7D/www/avm_webapps/ROOT/include-test-webapp.xsl?ticket=%7Bticket%7D"/>
<xsl:template match="in-template">
<div>Value from template is <b><xsl:value-of select="."/></b></div>
</xsl:template>
<xsl:template match="include-test">
<html>
<head>
<title>Include Test</title>
</head>
<body>
<div>Generated by include-webscript-test.xsl</div>
<xsl:apply-templates select="in-template"/>
<xsl:apply-templates select="in-webapp"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>