Revision 5354
Added by Jing Tao over 14 years ago
lib/style/common/searchWorkflow.js | ||
---|---|---|
44 | 44 |
queryString += "<returnfield>/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'workflowId\']/configure</returnfield>"; |
45 | 45 |
queryString += "<returnfield>/entity/property[@name=\'karLSID\']/@value</returnfield>"; |
46 | 46 |
queryString += "<returnfield>/entity/property[@name=\'entityId\']/@value</returnfield>";*/ |
47 |
queryString += "<returndoctype>kar</returndoctype>"; |
|
48 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/@name</returnfield>"; |
|
49 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'author\']/configure</returnfield>"; |
|
50 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'description\']/configure</returnfield>"; |
|
51 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'createDate\']/configure</returnfield>"; |
|
52 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'workflowId\']/configure</returnfield>"; |
|
53 |
queryString += "<returnfield>/kar/mainAttributes/lsid</returnfield>"; |
|
54 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/entity/property[@name=\'entityId\']/@value</returnfield>"; |
|
55 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/@class</returnfield>"; |
|
47 |
/*queryString += "<returndoctype>kar</returndoctype>";*/ |
|
48 |
queryString += "<returndoctype>http://www.kepler-project.org/kar-2.0.0</returndoctype>"; |
|
49 |
queryString += "<returnfield>karEntry/karEntryXML/entity/@name</returnfield>"; |
|
50 |
queryString += "<returnfield>karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'author\']/configure</returnfield>"; |
|
51 |
queryString += "<returnfield>karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'description\']/configure</returnfield>"; |
|
52 |
queryString += "<returnfield>karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'createDate\']/configure</returnfield>"; |
|
53 |
queryString += "<returnfield>karEntry/karEntryXML/entity/property[@name=\'KeplerDocumentation\']/property[@name=\'workflowId\']/configure</returnfield>"; |
|
54 |
queryString += "<returnfield>mainAttributes/lsid</returnfield>"; |
|
55 |
queryString += "<returnfield>karEntry/karEntryXML/entity/property[@name=\'entityId\']/@value</returnfield>"; |
|
56 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/@class</returnfield>"; |
|
56 | 57 |
queryString += "<querygroup operator='INTERSECT'>"; |
57 | 58 |
|
58 | 59 |
var elementList = document.getElementById(formId).elements; |
... | ... | |
95 | 96 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
96 | 97 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
97 | 98 |
/*pathExpr += "<pathexpr>entity/@name</pathexpr>";*/ |
98 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/@name</pathexpr>";
|
|
99 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/@name</pathexpr>"; |
|
99 | 100 |
pathExpr += "</queryterm>"; |
100 | 101 |
} else if (sfElement.name == 'keyword') { |
101 | 102 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
102 | 103 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
103 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@value</pathexpr>";
|
|
104 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@value</pathexpr>"; |
|
104 | 105 |
pathExpr += "</queryterm>"; |
105 | 106 |
} else if (sfElement.name == 'creator') { |
106 | 107 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
107 | 108 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
108 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
109 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
109 | 110 |
pathExpr += "</queryterm>"; |
110 | 111 |
} else if (sfElement.name == 'description') { |
111 | 112 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
112 | 113 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
113 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
114 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
114 | 115 |
pathExpr += "</queryterm>"; |
115 | 116 |
} else if (sfElement.name == 'date-created') { |
116 | 117 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
117 | 118 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
118 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
119 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
119 | 120 |
pathExpr += "</queryterm>"; |
120 | 121 |
} /*else if (sfElement.name == 'date-executed') { |
121 | 122 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
122 | 123 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
123 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
124 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
124 | 125 |
pathExpr += "</queryterm>"; |
125 | 126 |
} */ else if (sfElement.name == 'workflow-lsid') { |
126 | 127 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
127 | 128 |
pathExpr += "<value>entityId</value>"; |
128 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@name</pathexpr>";
|
|
129 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@name</pathexpr>"; |
|
129 | 130 |
pathExpr += "</queryterm>"; |
130 | 131 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
131 | 132 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
132 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@value</pathexpr>";
|
|
133 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@value</pathexpr>"; |
|
133 | 134 |
pathExpr += "</queryterm>"; |
134 | 135 |
}/* else if (sfElement.name == 'workflow-run-id') { |
135 | 136 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
136 | 137 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
137 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
138 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
138 | 139 |
pathExpr += "</queryterm>"; |
139 | 140 |
} else if (sfElement.name == 'status') { |
140 | 141 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
141 | 142 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
142 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
143 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
143 | 144 |
pathExpr += "</queryterm>"; |
144 | 145 |
}*/ |
145 | 146 |
|
lib/style/common/searchWorkflowResultset.xsl | ||
---|---|---|
56 | 56 |
<xsl:sort select='./updatedate' order='descending' /> |
57 | 57 |
<!--<xsl:sort select='./param[@name="/entity/@name"]' /> |
58 | 58 |
<xsl:if test="./docname = 'entity'">--> |
59 |
<xsl:sort select='./param[@name="/kar/karEntry/karEntryXML/entity/@name"]' />
|
|
59 |
<xsl:sort select='./param[@name="karEntry/karEntryXML/entity/@name"]' /> |
|
60 | 60 |
<xsl:variable name="workflowRunClassName"> |
61 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/@class"]'/>
|
|
61 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/@class"]'/> |
|
62 | 62 |
</xsl:variable> |
63 | 63 |
<xsl:if test="$workflowRunClassName = $emptyString"> |
64 | 64 |
<div> |
... | ... | |
69 | 69 |
</xsl:choose> |
70 | 70 |
</xsl:attribute> |
71 | 71 |
<xsl:variable name="karLSID"> |
72 |
<xsl:value-of select='./param[@name="/kar/mainAttributes/lsid"]' />
|
|
72 |
<xsl:value-of select='./param[@name="mainAttributes/lsid"]' /> |
|
73 | 73 |
</xsl:variable> |
74 | 74 |
<xsl:variable name="karDocid"> |
75 | 75 |
<xsl:call-template name="extractDocidFromLsid"> |
... | ... | |
77 | 77 |
</xsl:call-template> |
78 | 78 |
</xsl:variable> |
79 | 79 |
<xsl:variable name="workflowLSID"> |
80 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/entity/property[@name='entityId']/@value"]'/>
|
|
80 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/entity/property[@name='entityId']/@value"]'/> |
|
81 | 81 |
</xsl:variable> |
82 | 82 |
<xsl:variable name="karXmlDocid"> |
83 | 83 |
<xsl:value-of select='./docid'/> |
... | ... | |
90 | 90 |
|
91 | 91 |
<div class="col col1"> |
92 | 92 |
<!--<xsl:value-of select='./param[@name="/entity/@name"]' />--> |
93 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/entity/@name"]' />
|
|
93 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/entity/@name"]' /> |
|
94 | 94 |
</div> |
95 | 95 |
<div class="col col2"> |
96 | 96 |
<!--<xsl:value-of select='./param[@name="property[@name='KeplerDocumentation']/property[@name='author']/configure"]' />--> |
97 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='author']/configure"]' />
|
|
97 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/entity/property[@name='KeplerDocumentation']/property[@name='author']/configure"]' /> |
|
98 | 98 |
</div> |
99 | 99 |
<div class="col col3"> |
100 | 100 |
<xsl:value-of select='./updatedate' /> |
... | ... | |
110 | 110 |
<a> |
111 | 111 |
<xsl:attribute name="class">underlined</xsl:attribute> |
112 | 112 |
<!--<xsl:attribute name="href">./scheduleWorkflowRun.jsp?workflowid=<xsl:value-of select='./param[@name="/entity/property[@name='entityId']/@value"]' />&karid=<xsl:value-of select='./param[@name="/entity/property[@name='karLSID']/@value"]' />&workflowname=<xsl:value-of select='./param[@name="/entity/@name"]' /></xsl:attribute>--> |
113 |
<xsl:attribute name="href">./scheduleWorkflowRun.jsp?workflowid=<xsl:value-of select="$karXmlLSID" />&karid=<xsl:value-of select="normalize-space($karLSID)" />&workflowname=<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/entity/@name"]' /></xsl:attribute>
|
|
113 |
<xsl:attribute name="href">./scheduleWorkflowRun.jsp?workflowid=<xsl:value-of select="$karXmlLSID" />&karid=<xsl:value-of select="normalize-space($karLSID)" />&workflowname=<xsl:value-of select='./param[@name="karEntry/karEntryXML/entity/@name"]' /></xsl:attribute> |
|
114 | 114 |
Schedule |
115 | 115 |
</a> |
116 | 116 |
<span> | </span> |
lib/style/common/searchWorkflowRun.js | ||
---|---|---|
25 | 25 |
queryString += "<returnfield>/property[@class=\'org.kepler.util.WorkflowRun\']/property[@name=\'karLSID\']/@value</returnfield>"; |
26 | 26 |
queryString += "<returnfield>/property[@class=\'org.kepler.util.WorkflowRun\']/property[@name=\'ReportInstance_pdf\']/@value</returnfield>";*/ |
27 | 27 |
|
28 |
queryString += "<returndoctype>kar</returndoctype>"; |
|
29 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'user\']/@value</returnfield>"; |
|
30 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'description\']/@value</returnfield>"; |
|
31 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'startTime\']/@value</returnfield>"; |
|
32 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'workflowLSID\']/@value</returnfield>"; |
|
33 |
queryString += "<returnfield>/kar/karEntry/karEntryAttributes/tpcStatus</returnfield>"; |
|
34 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'workflowName\']/@value</returnfield>"; |
|
35 |
queryString += "<returnfield>/kar/mainAttributes/lsid</returnfield>"; |
|
36 |
queryString += "<returnfield>/kar/karEntry/karEntryXML/property[@name=\'WorkflowRun\']/@class</returnfield>"; |
|
37 |
queryString += "<returnfield>/kar/karEntry/karEntryAttributes/Name</returnfield>"; |
|
28 |
/*queryString += "<returndoctype>kar</returndoctype>";*/ |
|
29 |
queryString += "<returndoctype>http://www.kepler-project.org/kar-2.0.0</returndoctype>"; |
|
30 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'user\']/@value</returnfield>"; |
|
31 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'description\']/@value</returnfield>"; |
|
32 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'startTime\']/@value</returnfield>"; |
|
33 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'workflowLSID\']/@value</returnfield>"; |
|
34 |
queryString += "<returnfield>karEntry/karEntryAttributes/tpcStatus</returnfield>"; |
|
35 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/property[@name=\'workflowName\']/@value</returnfield>"; |
|
36 |
queryString += "<returnfield>mainAttributes/lsid</returnfield>"; |
|
37 |
queryString += "<returnfield>karEntry/karEntryXML/property[@name=\'WorkflowRun\']/@class</returnfield>"; |
|
38 |
queryString += "<returnfield>karEntry/karEntryAttributes/Name</returnfield>"; |
|
38 | 39 |
|
39 | 40 |
queryString += "<querygroup operator='INTERSECT'>"; |
40 | 41 |
|
... | ... | |
78 | 79 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
79 | 80 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
80 | 81 |
/*pathExpr += "<pathexpr>entity/@name</pathexpr>";*/ |
81 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/@name</pathexpr>";
|
|
82 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/@name</pathexpr>"; |
|
82 | 83 |
pathExpr += "</queryterm>"; |
83 | 84 |
} else if (sfElement.name == 'keyword') { |
84 | 85 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
85 | 86 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
86 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@value</pathexpr>";
|
|
87 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@value</pathexpr>"; |
|
87 | 88 |
pathExpr += "</queryterm>"; |
88 | 89 |
} else if (sfElement.name == 'creator') { |
89 | 90 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
90 | 91 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
91 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
92 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
92 | 93 |
pathExpr += "</queryterm>"; |
93 | 94 |
} else if (sfElement.name == 'description') { |
94 | 95 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
95 | 96 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
96 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
97 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
97 | 98 |
pathExpr += "</queryterm>"; |
98 | 99 |
} else if (sfElement.name == 'date-created') { |
99 | 100 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
100 | 101 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
101 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/property/configure</pathexpr>";
|
|
102 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/property/configure</pathexpr>"; |
|
102 | 103 |
pathExpr += "</queryterm>"; |
103 | 104 |
} else if (sfElement.name == 'date-executed') { |
104 | 105 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
105 | 106 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
106 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/property/property/@value</pathexpr>";
|
|
107 |
pathExpr += "<pathexpr>karEntry/karEntryXML/property/property/@value</pathexpr>"; |
|
107 | 108 |
pathExpr += "</queryterm>"; |
108 | 109 |
} else if (sfElement.name == 'workflow-lsid') { |
109 | 110 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
110 | 111 |
pathExpr += "<value>entityId</value>"; |
111 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@name</pathexpr>";
|
|
112 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@name</pathexpr>"; |
|
112 | 113 |
pathExpr += "</queryterm>"; |
113 | 114 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
114 | 115 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
115 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/entity/property/@value</pathexpr>";
|
|
116 |
pathExpr += "<pathexpr>karEntry/karEntryXML/entity/property/@value</pathexpr>"; |
|
116 | 117 |
pathExpr += "</queryterm>"; |
117 | 118 |
}else if (sfElement.name == 'workflow-run-lsid') { |
118 | 119 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
119 | 120 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
120 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/property/property/@value</pathexpr>";
|
|
121 |
pathExpr += "<pathexpr>karEntry/karEntryXML/property/property/@value</pathexpr>"; |
|
121 | 122 |
pathExpr += "</queryterm>"; |
122 | 123 |
}else if (sfElement.name == 'status') { |
123 | 124 |
pathExpr += "<queryterm casesensitive='false' searchmode='" + searchMode + "'>"; |
124 | 125 |
pathExpr += "<value>" + sfElement.value + "</value>"; |
125 |
pathExpr += "<pathexpr>/kar/karEntry/karEntryXML/property/property/@value</pathexpr>";
|
|
126 |
pathExpr += "<pathexpr>karEntry/karEntryXML/property/property/@value</pathexpr>"; |
|
126 | 127 |
pathExpr += "</queryterm>"; |
127 | 128 |
} |
128 | 129 |
|
lib/style/common/searchWorkflowRunResultset.xsl | ||
---|---|---|
52 | 52 |
if there are not then don't show the query results --> |
53 | 53 |
<xsl:if test="count(resultset/document) > 0"> |
54 | 54 |
<xsl:for-each select="resultset/document"> |
55 |
<xsl:sort select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' order='descending' />
|
|
56 |
<xsl:sort select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
55 |
<xsl:sort select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' order='descending' /> |
|
56 |
<xsl:sort select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' /> |
|
57 | 57 |
<!-- test if the document has the "workflowRun" property. If has, kept this document--> |
58 | 58 |
<xsl:variable name="workflowRunClassName"> |
59 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/@class"]'/>
|
|
59 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/@class"]'/> |
|
60 | 60 |
</xsl:variable> |
61 | 61 |
|
62 | 62 |
<xsl:if test="$workflowRunClassName != $emptyString"> |
63 | 63 |
<xsl:variable name="karDocid"> |
64 | 64 |
<xsl:call-template name="extractDocidFromLsid"> |
65 |
<xsl:with-param name="lsidString" select='./param[@name="/kar/mainAttributes/lsid"]' />
|
|
65 |
<xsl:with-param name="lsidString" select='./param[@name="mainAttributes/lsid"]' /> |
|
66 | 66 |
</xsl:call-template> |
67 | 67 |
</xsl:variable> |
68 | 68 |
<xsl:variable name="pdfFile"> |
69 |
<xsl:for-each select='./param[@name="/kar/karEntry/karEntryAttributes/Name"]'>
|
|
69 |
<xsl:for-each select='./param[@name="karEntry/karEntryAttributes/Name"]'> |
|
70 | 70 |
<xsl:variable name="fileName" select='.' /> |
71 | 71 |
<xsl:if test="contains($fileName, $pdfExtension)"> |
72 | 72 |
<xsl:value-of select="normalize-space($fileName)"/> |
... | ... | |
83 | 83 |
</xsl:attribute> |
84 | 84 |
|
85 | 85 |
<div class="col col1"> |
86 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' />
|
|
86 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='workflowName']/@value"]' /> |
|
87 | 87 |
</div> |
88 | 88 |
<div class="col col2"> |
89 | 89 |
<xsl:choose> |
90 |
<xsl:when test="not(./param[@name="/kar/karEntry/karEntryAttributes/tpcStatus"])" >
|
|
90 |
<xsl:when test="not(./param[@name="karEntry/karEntryAttributes/tpcStatus"])" > |
|
91 | 91 |
unknown |
92 | 92 |
</xsl:when> |
93 | 93 |
<xsl:otherwise> |
94 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryAttributes/tpcStatus"]' />
|
|
94 |
<xsl:value-of select='./param[@name="karEntry/karEntryAttributes/tpcStatus"]' /> |
|
95 | 95 |
</xsl:otherwise> |
96 | 96 |
</xsl:choose> |
97 | 97 |
</div> |
98 | 98 |
<div class="col col3"> |
99 |
<xsl:value-of select='./param[@name="/kar/karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' />
|
|
99 |
<xsl:value-of select='./param[@name="karEntry/karEntryXML/property[@name='WorkflowRun']/property[@name='startTime']/@value"]' /> |
|
100 | 100 |
</div> |
101 | 101 |
<div class="col col4"> |
102 | 102 |
<a> |
Also available in: Unified diff
Change the return type from kar to the namespace.