version 1.4, 2006/08/15 13:55:23
|
version 1.7, 2006/08/17 17:19:05
|
Line 6
|
Line 6
|
<archive-path tal:content="python:add_metadata['archive-path']+'/'+add_metadata['folder_name']">ARCHIVE PATH</archive-path> |
<archive-path tal:content="python:add_metadata['archive-path']+'/'+add_metadata['folder_name']">ARCHIVE PATH</archive-path> |
<creator tal:content="python:add_metadata['creator'].decode('utf-8')">CREATOR</creator> |
<creator tal:content="python:add_metadata['creator'].decode('utf-8')">CREATOR</creator> |
<content-type tal:content="python:add_metadata['content-type'].decode('utf-8')">CONTENT</content-type> |
<content-type tal:content="python:add_metadata['content-type'].decode('utf-8')">CONTENT</content-type> |
<derived-from tal:condition="python:add_metadata['content-type']"> |
<derived-from tal:condition="python:add_metadata['derived-from']"> |
<archive-path tal:content="python:add_metadata['content-type'].decode('utf-8')"/> |
<archive-path tal:content="python:add_metadata['derived-from'].decode('utf-8')"/> |
</derived-from> |
</derived-from> |
<meta tal:condition="python:len(here.metadataprint)>0"> |
<meta tal:condition="python:len(here.metadataprint)>0"> |
<bib type="XX" tal:attributes="type python:here.reftype"> |
<bib type="XX" tal:attributes="type python:here.reftype"> |
<span tal:replace="structure python:here.metadataprint.decode('utf-8')"/> |
<span tal:replace="structure python:here.metadataprint.decode('utf-8')"/> |
</bib> |
</bib> |
|
<access-conditions tal:condition="python:add_metadata['access-type']"> |
|
<access tal:condition="python:add_metadata['access-type']=='free'" type="free"/> |
|
<access tal:condition="python:add_metadata['access-type']!='free'" type="institution"> |
|
<name tal:content="python:add_metadata['access-type'].decode('utf-8')"/> |
|
</access> |
|
</access-conditions> |
</meta> |
</meta> |
</resource> |
</resource> |