01-11-2007 06:28 PM
<!– some namespaces excluded from example –>
<?xml version="1.0" encoding="UTF-8"?>
<cms:article xmlns:cms="http://mycms.org/cms"
xmlns:alf="http://www.alfresco.org">
<cms:title>Article 1</cms:title>
<cms:date>2007-01-10</cms:date>
<cms:location>New York, New York</cms:location>
<cms:body>
Here&#39;s my article.&nbsp; I hope it works out!
</cms:body>
</cms:article>
<#ftl ns_prefixes={"cms":"http://mycms.org/cms"}>
<#assign article = .vars["cms:article"]>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>${article["cms:title"]}</title>
</head>
<body>
<h1>${article["cms:title"]}</h1>
<div id="articleContent">
<span>(${article["cms:location"]} – ${article["cms:date"]})</span>
${article["cms:body"]}
</div>
</body>
</html>
01-11-2007 11:21 PM
01-12-2007 02:14 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.