10-09-2008 06:48 AM
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:alf="http://www.alfresco.org"
xmlns:tag="http://www.taglab.com/test"
targetNamespace="http://www.taglab.com/test"
elementFormDefault="qualified">
<!– Type declarations –>
<xs:complexType name="testType">
<xs:sequence>
<xs:element name="text" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<!– WYSIWYG editor –>
<alf:appearance>full</alf:appearance>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!– Root element –>
<xs:element name="test" type="tag:testType"/>
</xs:schema>
<?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"
xmlns:tag="http://www.taglab.com/test"
xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
exclude-result-prefixes="xhtml">
<xsl:output method="html" encoding="UTF-8" indent="yes"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'/>
<xsl:preserve-space elements="*"/>
<xsl:template match="/">
<html>
<head>
</head>
<body>
<!– disable-output-escaping preserves HTML tags in CDATA –>
<xsl:value-of select="/tag:test/tag:text" disable-output-escaping="yes"/>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<#ftl encoding="UTF-8" ns_prefixes={"D":"http://www.taglab.com/test"}>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
${test.text}
</body>
</html>
<?xml version="1.0" encoding="UTF-8"?>
<tag:test xmlns:alf="http://www.alfresco.org" xmlns:chiba="http://chiba.sourceforge.net/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:tag="http://www.taglab.com/test" xmlns:xf="http://www.w3.org/2002/xforms" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<tag:text>English български 简体中文 繁體中文 Česky Dansk Suomi Deutsch Ελληνικά Italiano Norsk Polski Português Русский Español Svenska Türkçe</tag:text>
</tag:test>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:tag="http://www.taglab.com/test" xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>English български 简体中文 繁體中文 Česky Dansk Suomi Deutsch Ελληνικά Italiano Norsk Polski Português Русский Español Svenska Türkçe</body>
</html>
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
English ????????? ???? ???? ?esky Dansk Suomi Deutsch ???????? Italiano Norsk Polski Portugu?s ??????? Espa?ol Svenska T?rk?e
</body>
</html>
10-09-2008 10:34 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.