1: <?xml version="1.0" encoding="UTF-8"?>
2: <resource xmlns:tal="http://xml.zope.org/namespaces/tal" type="MPIWG" tal:define="global add_metadata here/REQUEST/SESSION/add_metadata">
3: <description tal:content="python:add_metadata['description'].decode('utf-8')">SHORT SOURCE DESCRIPTION</description>
4: <archive-creation-date tal:content="python:add_metadata['archive-creation-date'].decode('utf-8')">CREATION DATE</archive-creation-date>
5: <name tal:content="python:add_metadata['folder_name']">FOLDER NAME</name>
6: <archive-path tal:content="python:add_metadata['archive-path']+'/'+add_metadata['folder_name']">ARCHIVE PATH</archive-path>
7: <creator tal:content="python:add_metadata['creator'].decode('utf-8')">CREATOR</creator>
8: <content-type tal:content="python:add_metadata['content-type'].decode('utf-8')">CONTENT</content-type>
9: <derived-from tal:condition="python:add_metadata['content-type']">
10: <archive-path tal:content="python:add_metadata['content-type'].decode('utf-8')"/>
11: </derived-from>
12: <meta tal:condition="python:len(here.metadataprint)>0">
13: <bib type="XX" tal:attributes="type python:here.reftype">
14: <span tal:replace="structure python:here.metadataprint.decode('utf-8')"/>
15: </bib>
16: </meta>
17: </resource>
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>