| <?xml version="1.0"?> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- Simple XSLTAL template for our samples --> |
| |
| <html xmlns:tal="http://xml.zope.org/namespaces/tal"> |
| <head> |
| <title tal:content="document/metadata/title">Page title</title> |
| </head> |
| <body> |
| <h1 tal:content="document/metadata/title">Page title</h1> |
| <div class="content" tal:repeat="p /document/content/p"> |
| <p> |
| <div tal:replace="structure $p/node()"> |
| (this should be replaced by the content of a paragraph) |
| </div> |
| </p> |
| </div> |
| |
| <div tal:match="a"> |
| <img src="http://cocoon.apache.org/favicon.ico" height="16" width="16"/> |
|   |
| <a tal:attributes="href @href" tal:content="structure"></a> |
| </div> |
| <div style="font-size:80%"> |
| Presentation generated by the plain-template.xml XSLTAL template. |
| </div> |
| </body> |
| </html> |