-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtask-event-template.xml
126 lines (125 loc) · 19.1 KB
/
task-event-template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="#odml_local_style"?>
<!DOCTYPE odML [ <!ATTLIST xsl:stylesheet id ID #REQUIRED> ]>
<odML version="1.1">
<xsl:stylesheet id="odml_local_style" version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions" xmlns:odml="http://www.g-node.org/odml"><xsl:template match="odML"><xsl:variable name="repository" select="repository"/><html><head><meta charset="utf-8" /><title>odML | The Open metaData Markup Language</title><meta name="description" content="Markup language for the storage of scientific metadata" /></head><style>article,aside,details,figcaption,figure,footer,header,hgroup,nav,sec,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none}[hidden]{display:none}html{font-size:100%;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}button,html,input,select,textarea{font-family:sans-serif}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:0.67em 0}h2{font-size:1.5em;margin:0.83em 0}h3{font-size:1.17em;margin:1em 0}h4{font-size:1em;margin:1.33em 0}h5{font-size:0.83em;margin:1.67em 0}h6{font-size:0.75em;margin:2.33em 0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}blockquote{margin:1em 40px}dfn{font-style:italic}mark{background:#ff0;color:#000}p,pre{margin:1em 0}code,kbd,pre,samp{font-family:monospace, serif;_font-family:'courier new', monospace;font-size:1em}q{quotes:none}q:after,q:before{content:'';content:none}small{font-size:75%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul{margin:1em 0}dd{margin:0 0 0 40px}menu,ol,ul{padding:0 0 0 40px}nav ol,nav ul{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:0.35em 0.625em 0.75em}legend{border:0;padding:0;white-space:normal;*margin-left:-7px}button,input,select,textarea{font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle}button,input{line-height:normal}button,input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button;*overflow:visible}button[disabled],input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-decoration,input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}.highlight table td{padding:5px}.highlight table pre{margin:0}.highlight,.highlight .w{color:#d0d0d0}.highlight .err{color:#151515;background-color:#ac4142}.highlight .c,.highlight .c1,.highlight .cd,.highlight .cm,.highlight .cs{color:#888}.highlight .cp{color:#f4bf75}.highlight .nt{color:#f4bf75}.highlight .o,.highlight .ow{color:#d0d0d0}.highlight .p,.highlight .pi{color:#d0d0d0}.highlight .gi{color:#90a959}.highlight .gd{color:#ac4142}.highlight .gh{color:#6a9fb5;font-weight:bold}.highlight .k,.highlight .kn,.highlight .kp,.highlight .kr,.highlight .kv{color:#aa759f}.highlight .kc{color:#d28445}.highlight .kt{color:#d28445}.highlight .kd{color:#d28445}.highlight .s,.highlight .s1,.highlight .s2,.highlight .sb,.highlight .sc,.highlight .sd,.highlight .sh,.highlight .sx{color:#90a959}.highlight .sr{color:#75b5aa}.highlight .si{color:#8f5536}.highlight .se{color:#8f5536}.highlight .nn{color:#f4bf75}.highlight .nc{color:#f4bf75}.highlight .no{color:#f4bf75}.highlight .na{color:#6a9fb5}.highlight .il,.highlight .m,.highlight .mb,.highlight .mf,.highlight .mh,.highlight .mi,.highlight .mo,.highlight .mx{color:#90a959}.highlight .ss{color:#90a959}body{font:14px/22px 'Quattrocento Sans', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#666;font-weight:300;margin:0;padding:0 0 20px;background:#eae6d1}h1,h2,h3,h4,h5,h6{color:#333;margin:0 0 10px}dl,ol,p,pre,table,ul{margin:0 0 20px}ol.nested{margin:0}h1,h2,h3{line-height:1.1}a{color:#3399cc;font-weight:400;text-decoration:none}a small{font-size:11px;color:#666;margin-top:-0.6em;display:block}a.white{color:white}strong{font-weight:bold;color:#333}.wrapper{width:800px;margin:0 auto;position:relative}sec img{max-width:100%}blockquote{border-left:1px solid #ffcc00;margin:0;padding:0 0 0 20px;font-style:italic}code{font-family:'Lucida Sans', Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal;font-size:13px;color:#efefef;text-shadow:0 1px 0 #000;margin:0 4px;padding:2px 6px;background:#333;border-radius:2px}pre{padding:8px 15px;background:#333333;border-radius:3px;border:1px solid #c7c7c7;overflow:auto;overflow-y:hidden}pre code{margin:0;padding:0}table{width:100%;border-collapse:collapse}th{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;color:#444}td{text-align:left;padding:5px 10px;border-bottom:1px solid #e5e5e5;border-right:1px solid #ffcc00}td:first-child{border-left:1px solid #ffcc00}hr{border:0;outline:none;height:11px;background:transparent center center repeat-x;margin:0 0 20px}hr.fatline{color:yellow;background-color:#336699;height:4px;margin-right:0;text-align:right;border:1px dashed black}hr.thinline{background-color:#336699;height:1px;margin-right:0;text-align:right}dt{color:#444;font-weight:700}header{padding:25px 20px 40px;margin:0;position:fixed;top:0;left:0;right:0;width:100%;text-align:center;background:#4276b6;box-shadow:1px 0 2px rgba(0, 0, 0, 0.75);z-index:99;-webkit-font-smoothing:antialiased;min-height:76px}header h1{font:40px/48px 'Copse', "Helvetica Neue", Helvetica, Arial, sans-serif;color:#f3f3f3;text-shadow:0 2px 0 #235796;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{color:#d8d8d8;text-shadow:rgba(0, 0, 0, 0.2) 0 1px 0;margin:0}#banner{z-index:100;left:0;right:50%;height:50px;margin-right:-382px;position:fixed;top:115px;background:#1876dfff;border:1px solid #00000000;box-shadow:0 1px 3px rgba(0, 0, 0, 0.25);border-radius:0 2px 2px 0;padding-right:10px}#banner .button{border:1px solid #dba500;background:linear_gradient(#ffe788, #ffce38);border-radius:2px;box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.1);background-color:#FFE788;margin-left:5px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;color:#333;font-weight:bold;display:inline-block;text-align:center}#banner .button:hover{background:linear_gradient(#ffe788, #ffe788);background-color:#ffeca0}#banner .fork{position:fixed;left:50%;margin-left:-325px;padding:10px 12px;margin-top:6px;line-height:14px;font-size:14px;background-color:#FFE788}#banner .downloads{float:right;margin:0 45px 0 0}#banner .downloads span{float:left;line-height:52px;font-size:90%;color:#9d7f0d;text-transform:uppercase;text-shadow:rgba(255, 255, 255, 0.2) 0 1px 0}#banner ul{list-style:none;height:40px;padding:0;float:left;margin-left:10px}#banner ul li{display:inline}#banner ul li a.button{background-color:#FFE788}#banner #logo{position:absolute;height:36px;width:36px;right:7px;top:7px;display:block}.navWrapper{margin-top:190px;position:relative}sec{width:800px;padding:30px 30px 50px;margin:190px 0 20px;position:relative;background:#fbfbfb;border-radius:3px;border:1px solid #cbcbcb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}navigationContainer{width:75%;padding:30px 30px 50px;margin:0 auto;display:block;background:#fbfbfb;box-shadow:0 1px 2px rgba(0, 0, 0, 0.09), inset 0 0 2px 2px rgba(255, 255, 255, 0.5), inset 0 0 5px 5px rgba(255, 255, 255, 0.4)}small{font-size:12px}nav{width:230px;position:fixed;top:220px;left:50%;margin-left:-580px;text-align:right}nav ul{list-style:none;list-style-image:none;font-size:14px;line-height:24px}nav ul li{padding:5px 0;line-height:16px}nav ul li.tag-h1{font-size:1.2em}nav ul li.tag-h1 a{font-weight:bold;color:#333}nav ul li.tag-h2+.tag-h1{margin-top:10px}nav ul a{color:#666}nav ul a:hover{color:#999}footer{width:180px;position:fixed;left:50%;margin-left:-530px;bottom:20px;text-align:right;line-height:16px}@media print, screen and (max-width: 1060px){div.wrapper{width:auto;margin:0}nav{display:none}footer,header,sec{float:none}footer h1,header h1,sec h1{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}#banner{width:100%}#banner .downloads{margin-right:60px}#banner #logo{margin-right:15px}sec{border:1px solid #e5e5e5;border-width:1px 0;padding:20px auto;margin:190px auto 20px;max-width:600px}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-width: 720px){body{word-wrap:break-word}header{padding:20px;margin:0}header h1{font-size:32px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}header p{display:none}#banner{top:80px}#banner .fork{float:left;display:inline-block;margin-left:0;position:fixed;left:20px}sec{margin-top:130px;margin-bottom:0;width:auto}header p.view,header ul{position:static}}@media print, screen and (max-width: 480px){header{position:relative;padding:5px 0;min-height:0}header h1{font-size:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;-o-text-overflow:ellipsis;-ms-text-overflow:ellipsis}sec{margin-top:5px}#banner{display:none}header ul{display:none}}@media print{body{padding:0.4in;font-size:12pt;color:#444}}@media print, screen and (max-height: 680px){footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}@media print, screen and (max-height: 480px){nav{display:none}footer{text-align:center;margin:20px auto;position:relative;left:auto;bottom:auto;width:auto}}
</style><body><header><h1><a class="white" href="https://templates.g-node.org/templates.xml">odML metadata document</a></h1></header><div class="navWrapper"><navigationContainer><div id="navigationContainer"><hr class="fatline" /><p><h2>Document info</h2><b>Author: </b><xsl:if test="author"><xsl:value-of select="author"/></xsl:if><br/><b>Date: </b><xsl:if test="date"><xsl:value-of select="date"/></xsl:if><br/><b>Version: </b><xsl:if test="version"><xsl:value-of select="version"/></xsl:if><br/><b>Repository: </b><xsl:if test="repository"><xsl:value-of select="repository"/></xsl:if><br/></p><hr class="fatline" /><h2>Structure</h2><font size ="-1" ><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">1</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></font><br/></div><div id="contentContainer"><hr class="fatline" /><h2>Content</h2><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation">0</xsl:with-param><xsl:with-param name="anchorBase">Sec</xsl:with-param><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></div></navigationContainer></div></body></html></xsl:template><xsl:template name="sectionTemplate" match="section"><xsl:param name="navigation"/><xsl:param name="anchorBase"/><xsl:param name="url"/><xsl:variable name="anchorName" select="concat($anchorBase,position())"/><xsl:variable name="repository"><xsl:choose><xsl:when test="repository"><xsl:value-of select ="repository"/></xsl:when><xsl:otherwise><xsl:value-of select ="$url"/></xsl:otherwise></xsl:choose></xsl:variable><xsl:choose><xsl:when test="$navigation = 1"><ol class="nested"><font size="normal"><a href="#{$anchorName}"><xsl:value-of select="name"/> (type: <xsl:value-of select="type"/>)</a></font><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></ol></xsl:when><xsl:otherwise><a name="{$anchorName}"><h3><xsl:value-of select="name"/> Section</h3></a><p><b>Type: </b><xsl:value-of select="type"/><br/><xsl:choose><xsl:when test ="repository"><b>Repository: </b><xsl:value-of select="repository"/><br/></xsl:when><xsl:otherwise><b>Repository: </b><xsl:value-of select="$repository"/><br/></xsl:otherwise></xsl:choose><b>Link: </b><xsl:if test="link"><xsl:value-of select="link"/></xsl:if><br/><b>Include:</b><xsl:if test="include"><font color="red"><xsl:value-of select="include"/></font></xsl:if><br/><b>Definition: </b><xsl:if test="definition"><xsl:value-of select="definition"/></xsl:if><br/></p><xsl:if test="property"><table border="1" rules="rows" width="100%"><font size="-1"><tr bgcolor="#336699" align="left" valign="middle"><th><font size="+1" color="white"><b>Name</b></font></th><th><font size="+1" color="white"><b>Value</b></font></th><th><font size="+1" color="white"><b>Unit</b></font></th><th><font size="+1" color="white"><b>Type</b></font></th><th><font size="+1" color="white"><b>Uncertainty</b></font></th><th><font size="+1" color="white"><b>Definition</b></font></th><th><font size="+1" color="white"><b>Dependency</b></font></th><th><font size="+1" color="white"><b>Dependency Value</b></font></th></tr><xsl:for-each select="property"><xsl:variable name="anchor"><xsl:value-of select ="name"/></xsl:variable><tr><td width="15%"><a name="{$anchor}"/><p><xsl:value-of select="name"/></p></td><td width="10%"><p><xsl:value-of select="value"/></p></td><td width="5%"><p><xsl:value-of select="unit"/><br/></p></td><td width="5%"><p><xsl:value-of select="type"/></p></td><td width="5%"><p><xsl:value-of select="uncertainty"/><br/></p></td><td width="22.5%"><p><xsl:value-of select="definition"/></p></td><td width="5%"><p><xsl:value-of select="dependency"/></p></td><td width="5%"><p><xsl:value-of select="dependencyValue"/></p></td></tr></xsl:for-each></font></table></xsl:if><a href="#top"><tiny>top</tiny></a><hr class="thinline" /><xsl:if test="section"><xsl:for-each select="section"><xsl:call-template name="sectionTemplate"><xsl:with-param name="navigation" select="$navigation"/><xsl:with-param name="anchorBase" select="concat($anchorName,'SubSec')"/><xsl:with-param name="url" select="$repository"/></xsl:call-template></xsl:for-each></xsl:if></xsl:otherwise></xsl:choose></xsl:template>
</xsl:stylesheet>
<id>2f200cbb-b094-4163-86e9-2a28969043a1</id>
<version>1.0</version>
<author>Reema Gupta</author>
<section>
<id>fe0a1665-89a3-4a4a-b7e7-82364361771d</id>
<type>n.s.</type>
<name>task-event</name>
<definition>Task-event-template template schema generated by the CEDAR Template Editor 2.6.56</definition>
<section>
<id>1327b0fc-eaa8-4fe2-9d34-5c84be87b916</id>
<type>n.s.</type>
<name>in2pb-header</name>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
<property>
<id>7b221347-aa3b-4d0d-b997-b1a8611f1998</id>
<name>in2pb-header</name>
<value></value>
<definition>Header to be used for metadata templates created for In2PB projects.</definition>
</property>
</section>
<section>
<id>331eb8d6-2e40-4c04-b40c-f17fd53193e3</id>
<type>n.s.</type>
<name>task-event-header</name>
<definition>Header with instructions for the tasks and events metadata.</definition>
<property>
<id>b5098081-970d-4e62-85fe-dca211077451</id>
<name>task-event-header</name>
<value></value>
<definition>Header with instructions for the tasks and events metadata.</definition>
</property>
</section>
<section>
<id>78de8ada-50d0-4d7a-a56c-3b90ac1c91ec</id>
<type>n.s.</type>
<name>task-element</name>
<definition>Task metadata used with the common localizer data.</definition>
<property>
<id>6cb4dd5a-320b-4264-8f1b-c2423c206a98</id>
<name>taskType</name>
<value></value>
<definition>Human-readable abbreviated task type name.</definition>
</property>
<property>
<id>ef15cd7f-56d1-4a04-a666-b1622ea9ccc9</id>
<name>otherTaskType</name>
<value></value>
<definition>Type of the task if not listed above.</definition>
</property>
<property>
<id>1bfc691d-c53a-4bfb-8eba-58661994f1de</id>
<name>taskName</name>
<value></value>
<definition>Name of the tasks that would be used in naming the files according to the BIDS specification.</definition>
</property>
<property>
<id>6ab71fa8-7273-4b05-b5b2-6b2e8b16af57</id>
<name>otherTaskName</name>
<value></value>
<definition>Name of the task if not listed above and used with the task label in folder organization.</definition>
</property>
<property>
<id>8b33db7a-f63e-41ee-83cc-923e0fa93fe9</id>
<name>taskConfig</name>
<value></value>
<definition>Relative or absolute path to the configuration file used for each of the specified task.</definition>
</property>
<property>
<id>c171d663-f526-453f-b90e-a9410bad475a</id>
<name>taskDescription</name>
<value></value>
<definition>A text based description of the tasks used for the data.</definition>
</property>
<property>
<id>9e450545-4713-451f-92f7-98d677841656</id>
<name>taskComment</name>
<value></value>
<definition>Additional remarks on the tasks being described.</definition>
</property>
</section>
<section>
<id>2ff75f87-7385-4c0b-90be-1415c2ed70ba</id>
<type>n.s.</type>
<name>event-codes-element</name>
<definition>Metadata describing the event or behavioural codes associated with the experimental data.</definition>
<property>
<id>38f6bbe2-7602-48f9-96ba-bf4f9f34a71b</id>
<name>code</name>
<value></value>
<definition>The event/behavioural code used during the experimental run.</definition>
</property>
<property>
<id>543705f0-c383-48c1-a66e-feeadb3c4641</id>
<name>codeName</name>
<value></value>
<definition>The event/behavioural code name, corresponding to the code used during the experimental run.</definition>
</property>
<property>
<id>2676960b-a4ca-4492-909d-49745ae0cdda</id>
<name>codeDescription</name>
<value></value>
<definition>A short human-readable description of the code.</definition>
</property>
</section>
<section>
<id>8436600f-09a8-4bd1-8212-fb686728e899</id>
<type>n.s.</type>
<name>free-text-field</name>
<definition>A free text element to allow the user to provide any additional information.</definition>
</section>
<property>
<id>3e7c572e-60df-4474-beec-589051922530</id>
<name>free-text-field</name>
<value></value>
<definition>A free text element to allow the user to provide any additional information.</definition>
</property>
</section>
</odML>