Project

General

Profile

« Previous | Next » 

Revision 5816

include 'value' translations when searching EML 2.1.1 (squery and query actions)

View differences:

lib/style/skins/sanparks/searchPathQuery.js
16 16
	queryString += "<returnfield>creator/individualName/surName</returnfield>";
17 17
	queryString += "<returnfield>creator/organizationName</returnfield>";
18 18
	queryString += "<returnfield>dataset/title</returnfield>";
19
	queryString += "<returnfield>dataset/title/value</returnfield>";
19 20
	queryString += "<returnfield>keyword</returnfield>";
21
	queryString += "<returnfield>keyword/value</returnfield>";
20 22
	queryString += "<returnfield>creator/individualName/givenName</returnfield>";
21 23
	queryString += "<returnfield>idinfo/citation/citeinfo/title</returnfield>";
22 24
	queryString += "<returnfield>idinfo/citation/citeinfo/origin</returnfield>";
......
93 95
		var counter = 0;
94 96
		//EML fields
95 97
		searchFieldArray[counter++] = "abstract/para";
98
		searchFieldArray[counter++] = "abstract/para/value";
96 99
		searchFieldArray[counter++] = "surName";
97 100
		searchFieldArray[counter++] = "givenName";
98 101
		searchFieldArray[counter++] = "organizationName";		
99 102
		searchFieldArray[counter++] = "title";
103
		searchFieldArray[counter++] = "title/value";
100 104
		searchFieldArray[counter++] = "keyword";
105
		searchFieldArray[counter++] = "keyword/value";
101 106
		searchFieldArray[counter++] = "para";
102 107
		searchFieldArray[counter++] = "geographicDescription";
103 108
		searchFieldArray[counter++] = "literalLayout";
lib/style/skins/default/include_searchbox.jsp
101 101
                                submitFormObj.operator.value="UNION";
102 102
                                var abs = document.getElementById("abstract");
103 103
                                abs.value=searchString;
104
                                var abstractValue = document.getElementById("abstractValue");
105
                                abstractValue.value=searchString;
106
                                var keywordValue = document.getElementById("keywordValue");
107
                        		keywordValue.value=searchString;
104 108
                        } else {
105 109
                                searchBox.name = "anyfield";
106 110
                                searchBox.id = "searchBox";
......
116 120
                                submitFormObj.operator.value="INTERSECT";
117 121
                                var abs = document.getElementById("abstract");
118 122
                                abs.value="";
123
                                var abstractValue = document.getElementById("abstractValue");
124
                                abstractValue.value="";
125
                                var keywordValue = document.getElementById("keywordValue");
126
                        		keywordValue.value="";
119 127

  
120 128
			 }
121 129
                } else {
......
132 140
                        submitFormObj.operator.value="INTERSECT";
133 141
                        var abs = document.getElementById("abstract");
134 142
                        abs.value="";
143
                        var abstractValue = document.getElementById("abstractValue");
144
                        abstractValue.value="";
145
                        var keywordValue = document.getElementById("keywordValue");
146
                        keywordValue.value="";
135 147
                }
136 148

  
137 149

  
......
167 179
  			    <input type="hidden" name="surName">
168 180
  			    <input type="hidden" name="givenName">
169 181
  			    <input type="hidden" name="keyword">
182
  			    <input type="hidden" name="keyword/value" id="keywordValue">
170 183
  			    <input type="hidden" name="para">
171 184
  			    <input type="hidden" name="geographicDescription">
172 185
  			    <input type="hidden" name="literalLayout">
173 186
  			    <input type="hidden" name="abstract/para" id="abstract">
187
				<input type="hidden" name="abstract/para/value" id="abstractValue">
174 188
                <table width="100%" border="0" cellpadding="5" cellspacing="0">
175 189
                  <tr> 
176 190
                    <td width="94" rowspan="2" align="left" valign="top">
lib/style/skins/parc/search.js
29 29
            +"<returnfield>originator/organizationName</returnfield>"
30 30
            +"<returnfield>creator/organizationName</returnfield>"
31 31
            +"<returnfield>dataset/title</returnfield>"
32
            +"<returnfield>dataset/title/value</returnfield>"
32 33
            +"<returnfield>keyword</returnfield>"
34
            +"<returnfield>keyword/value</returnfield>"
33 35
            //fgdc fields
34 36
            +"<returnfield>idinfo/citation/citeinfo/title</returnfield>"
35 37
            +"<returnfield>idinfo/citation/citeinfo/origin</returnfield>"
......
55 57
                        +"<pathexpr>/eml/dataset/keywordSet/keyword</pathexpr>"
56 58
                    +"</queryterm>"
57 59
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
60
	                    +"<value>" + searchString + "</value>"
61
	                    +"<pathexpr>/eml/dataset/keywordSet/keyword/value</pathexpr>"
62
	                +"</queryterm>"
63
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
58 64
                        +"<value>" + searchString + "</value>"
59 65
                        +"<pathexpr>para</pathexpr>"
60 66
                    +"</queryterm>"
......
71 77
                        +"<pathexpr>/eml/dataset/title</pathexpr>"
72 78
                    +"</queryterm>"
73 79
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
80
	                    +"<value>" + searchString + "</value>"
81
	                    +"<pathexpr>/eml/dataset/title/value</pathexpr>"
82
	                +"</queryterm>"
83
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
74 84
                        +"<value>" + searchString + "</value>"
75 85
                        +"<pathexpr>/eml/@packageId</pathexpr>"
76 86
                    +"</queryterm>"
......
78 88
                        +"<value>" + searchString + "</value>"
79 89
                        +"<pathexpr>/eml/dataset/abstract/para</pathexpr>"
80 90
                    +"</queryterm>"
91
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
92
                    +"<value>" + searchString + "</value>"
93
                    +"<pathexpr>/eml/dataset/abstract/para/value</pathexpr>"
94
                +"</queryterm>"
81 95
                +"</querygroup>"
82 96
            +"</querygroup>"
83 97
            +"</pathquery>";
......
103 117
            +"<returnfield>originator/organizationName</returnfield>"
104 118
            +"<returnfield>creator/organizationName</returnfield>"
105 119
            +"<returnfield>dataset/title</returnfield>"
120
            +"<returnfield>dataset/title/value</returnfield>"
106 121
            +"<returnfield>keyword</returnfield>"
122
            +"<returnfield>keyword/value</returnfield>"
107 123
            //fgdc fields
108 124
            +"<returnfield>idinfo/citation/citeinfo/title</returnfield>"
109 125
            +"<returnfield>idinfo/citation/citeinfo/origin</returnfield>"
lib/style/skins/nceas/search.js
33 33
            +"<returnfield>originator/organizationName</returnfield>"
34 34
            +"<returnfield>creator/organizationName</returnfield>"
35 35
            +"<returnfield>dataset/title</returnfield>"
36
            +"<returnfield>dataset/title/value</returnfield>"
36 37
            +"<returnfield>keyword</returnfield>"
38
            +"<returnfield>keyword/value</returnfield>"
37 39
            //fgdc fields
38 40
            +"<returnfield>idinfo/citation/citeinfo/title</returnfield>"
39 41
            +"<returnfield>idinfo/citation/citeinfo/origin</returnfield>"
......
64 66
                        +"<pathexpr>keyword</pathexpr>"
65 67
                    +"</queryterm>"
66 68
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
69
	                    +"<value>" + searchString + "</value>"
70
	                    +"<pathexpr>keyword/value</pathexpr>"
71
	                +"</queryterm>"
72
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
67 73
                        +"<value>" + searchString + "</value>"
68 74
                        +"<pathexpr>para</pathexpr>"
69 75
                    +"</queryterm>"
......
80 86
                        +"<pathexpr>title</pathexpr>"
81 87
                    +"</queryterm>"
82 88
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
89
	                    +"<value>" + searchString + "</value>"
90
	                    +"<pathexpr>title/value</pathexpr>"
91
	                +"</queryterm>"
92
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
83 93
                        +"<value>" + searchString + "</value>"
84 94
                        +"<pathexpr>@packageId</pathexpr>"
85 95
                    +"</queryterm>"
......
87 97
                        +"<value>" + searchString + "</value>"
88 98
                        +"<pathexpr>abstract/para</pathexpr>"
89 99
                    +"</queryterm>"
100
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
101
	                    +"<value>" + searchString + "</value>"
102
	                    +"<pathexpr>abstract/para/value</pathexpr>"
103
	                +"</queryterm>"
90 104
                    
91 105
                    //FGDC fields
92 106
                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
......
138 152
            +"<returnfield>originator/organizationName</returnfield>"
139 153
            +"<returnfield>creator/organizationName</returnfield>"
140 154
            +"<returnfield>dataset/title</returnfield>"
155
            +"<returnfield>dataset/title/value</returnfield>"
141 156
            +"<returnfield>keyword</returnfield>"
157
            +"<returnfield>keyword/value</returnfield>"
142 158
            //fgdc fields
143 159
            +"<returnfield>idinfo/citation/citeinfo/title</returnfield>"
144 160
            +"<returnfield>idinfo/citation/citeinfo/origin</returnfield>"
lib/style/skins/obfs/index.jsp
77 77
                                                           +"<returnfield>creator/individualName/givenName</returnfield>"
78 78
                                                           +"<returnfield>originator/organizationName</returnfield>"
79 79
                                                           +"<returnfield>creator/organizationName</returnfield>"
80
                                                           +"<returnfield>dataset/title/value</returnfield>"
80 81
                                                           +"<returnfield>dataset/title</returnfield>"
81 82
                                                           +"<returnfield>keyword</returnfield>"
83
                                                           +"<returnfield>keyword/value</returnfield>"
82 84
                                                           +"<querygroup operator=\"INTERSECT\">"
83 85
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84 86
                                                                        +"<value>Organization of Biological Field Stations</value>"
......
99 101
                                                                        +"</queryterm>"
100 102
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
101 103
                                                                                +"<value>" + searchString + "</value>"
104
                                                                                +"<pathexpr>keyword/value</pathexpr>"
105
                                                                        +"</queryterm>"
106
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107
                                                                                +"<value>" + searchString + "</value>"
102 108
                                                                         +"<pathexpr>para</pathexpr>"
103 109
                                                                        +"</queryterm>"
104 110
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
......
115 121
                                                                        +"</queryterm>"
116 122
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
117 123
                                                                                +"<value>" + searchString + "</value>"
124
                                                                                +"<pathexpr>title/value</pathexpr>"
125
                                                                        +"</queryterm>"
126
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
127
                                                                                +"<value>" + searchString + "</value>"
118 128
                                                                                +"<pathexpr>@packageId</pathexpr>"
119 129
                                                                        +"</queryterm>"
120 130
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
121 131
                                                                                +"<value>" + searchString + "</value>"
122 132
                                                                                +"<pathexpr>abstract/para</pathexpr>"
123 133
                                                                        +"</queryterm>"
134
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
135
                                                                                +"<value>" + searchString + "</value>"
136
                                                                                +"<pathexpr>abstract/para/value</pathexpr>"
137
                                                                        +"</queryterm>"
124 138
                                                                +"</querygroup>"
125 139
                                                          +"</querygroup>"
126 140
                                                  +"</pathquery>";
......
148 162
                                                           +"<returnfield>originator/organizationName</returnfield>"
149 163
                                                           +"<returnfield>creator/organizationName</returnfield>"
150 164
                                                           +"<returnfield>dataset/title</returnfield>"
165
                                                           +"<returnfield>dataset/title/value</returnfield>"
151 166
                                                           +"<returnfield>keyword</returnfield>"
167
                                                           +"<returnfield>keyword/value</returnfield>"
152 168
                                                           +"<querygroup operator=\"INTERSECT\">"
153 169
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
154 170
                                                                        +"<value>Organization of Biological Field Stations</value>"
lib/style/skins/obfs/header.jsp
64 64
                                                           +"<returnfield>originator/organizationName</returnfield>"
65 65
                                                           +"<returnfield>creator/organizationName</returnfield>"
66 66
                                                           +"<returnfield>dataset/title</returnfield>"
67
                                                           +"<returnfield>dataset/title/value</returnfield>"
67 68
                                                           +"<returnfield>keyword</returnfield>"
69
                                                           +"<returnfield>keyword/value</returnfield>"
68 70
                                                           +"<querygroup operator=\"INTERSECT\">"
69 71
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
70 72
                                                                        +"<value>Organization of Biological Field Stations</value>"
......
85 87
                                                                        +"</queryterm>"
86 88
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
87 89
                                                                                +"<value>" + searchString + "</value>"
90
                                                                                +"<pathexpr>keyword/value</pathexpr>"
91
                                                                        +"</queryterm>"
92
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
93
                                                                                +"<value>" + searchString + "</value>"
88 94
                                                                                +"<pathexpr>para</pathexpr>"
89 95
                                                                        +"</queryterm>"
90 96
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
......
101 107
                                                                        +"</queryterm>"
102 108
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
103 109
                                                                                +"<value>" + searchString + "</value>"
110
                                                                                +"<pathexpr>title/value</pathexpr>"
111
                                                                        +"</queryterm>"
112
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
113
                                                                                +"<value>" + searchString + "</value>"
104 114
                                                                                +"<pathexpr>@packageId</pathexpr>"
105 115
                                                                        +"</queryterm>"
106 116
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107 117
                                                                                +"<value>" + searchString + "</value>"
108 118
                                                                                +"<pathexpr>abstract/para</pathexpr>"
109 119
                                                                        +"</queryterm>"
120
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
121
                                                                                +"<value>" + searchString + "</value>"
122
                                                                                +"<pathexpr>abstract/para/value</pathexpr>"
123
                                                                        +"</queryterm>"
110 124
                                                                +"</querygroup>"
111 125
                                                          +"</querygroup>"
112 126
                                                  +"</pathquery>";
lib/style/skins/nrs/index.jsp
78 78
                                	                   +"<returnfield>originator/organizationName</returnfield>"
79 79
                                        	           +"<returnfield>creator/organizationName</returnfield>"
80 80
                                                	   +"<returnfield>dataset/title</returnfield>"
81
                                                	   +"<returnfield>dataset/title/value</returnfield>"
81 82
	                                                   +"<returnfield>keyword</returnfield>"
83
	                                                   +"<returnfield>keyword/value</returnfield>"
82 84
        	                                           +"<querygroup operator=\"INTERSECT\">"
83 85
							   	+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
84 86
                        	                           		+"<value>University of California Natural Reserve System</value>"
......
99 101
									+"</queryterm>"
100 102
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
101 103
							     			+"<value>" + searchString + "</value>"
104
							     			+"<pathexpr>keyword/value</pathexpr>"
105
									+"</queryterm>"
106
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
107
							     			+"<value>" + searchString + "</value>"
102 108
							     			+"<pathexpr>para</pathexpr>"
103 109
									+"</queryterm>"
104 110
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
......
113 119
							     			+"<value>" + searchString + "</value>"
114 120
							     			+"<pathexpr>title</pathexpr>"
115 121
									+"</queryterm>"
116
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
117
                                                                                +"<value>" + searchString + "</value>"
118
                                                                                +"<pathexpr>@packageId</pathexpr>"
119
                                                                        +"</queryterm>"
120 122
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
121 123
							     			+"<value>" + searchString + "</value>"
124
							     			+"<pathexpr>title/value</pathexpr>"
125
									+"</queryterm>"
126
                                    +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
127
                                            +"<value>" + searchString + "</value>"
128
                                            +"<pathexpr>@packageId</pathexpr>"
129
                                    +"</queryterm>"
130
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
131
							     			+"<value>" + searchString + "</value>"
122 132
							     			+"<pathexpr>abstract/para</pathexpr>"
123 133
									+"</queryterm>"
134
									+"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
135
							     			+"<value>" + searchString + "</value>"
136
							     			+"<pathexpr>abstract/para/value</pathexpr>"
137
									+"</queryterm>"
124 138
							   	+"</querygroup>"
125 139
							  +"</querygroup>"
126 140
						  +"</pathquery>";
......
148 162
                                                           +"<returnfield>originator/organizationName</returnfield>"
149 163
                                                           +"<returnfield>creator/organizationName</returnfield>"
150 164
                                                           +"<returnfield>dataset/title</returnfield>"
165
                                                           +"<returnfield>dataset/title/value</returnfield>"
151 166
                                                           +"<returnfield>keyword</returnfield>"
167
                                                           +"<returnfield>keyword/value</returnfield>"
152 168
                                                           +"<querygroup operator=\"INTERSECT\">"
153 169
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
154 170
                                                                        +"<value>University of California Natural Reserve System</value>"
lib/style/skins/nrs/header.jsp
63 63
                                                           +"<returnfield>originator/organizationName</returnfield>"
64 64
                                                           +"<returnfield>creator/organizationName</returnfield>"
65 65
                                                           +"<returnfield>dataset/title</returnfield>"
66
                                                           +"<returnfield>dataset/title/value</returnfield>"
66 67
                                                           +"<returnfield>keyword</returnfield>"
68
                                                           +"<returnfield>keyword/value</returnfield>"
67 69
                                                           +"<querygroup operator=\"INTERSECT\">"
68 70
                                                                +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
69 71
                                                                        +"<value>University of California Natural Reserve System</value>"
......
83 85
                                                                                +"<pathexpr>keyword</pathexpr>"
84 86
                                                                        +"</queryterm>"
85 87
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
88
	                                                                        +"<value>" + searchString + "</value>"
89
	                                                                        +"<pathexpr>keyword/value</pathexpr>"
90
	                                                                +"</queryterm>"
91
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
86 92
                                                                                +"<value>" + searchString + "</value>"
87 93
                                                                                +"<pathexpr>para</pathexpr>"
88 94
                                                                        +"</queryterm>"
......
99 105
                                                                                +"<pathexpr>title</pathexpr>"
100 106
                                                                        +"</queryterm>"
101 107
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
108
	                                                                        +"<value>" + searchString + "</value>"
109
	                                                                        +"<pathexpr>title/value</pathexpr>"
110
	                                                                +"</queryterm>"
111
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
102 112
                                                                                +"<value>" + searchString + "</value>"
103 113
                                                                                +"<pathexpr>@packageId</pathexpr>"
104 114
                                                                        +"</queryterm>"
......
106 116
                                                                                +"<value>" + searchString + "</value>"
107 117
                                                                                +"<pathexpr>abstract/para</pathexpr>"
108 118
                                                                        +"</queryterm>"
119
                                                                        +"<queryterm searchmode=\"contains\" casesensitive=\"false\">"
120
	                                                                        +"<value>" + searchString + "</value>"
121
	                                                                        +"<pathexpr>abstract/para/value</pathexpr>"
122
	                                                                +"</queryterm>"
109 123
                                                                +"</querygroup>"
110 124
                                                          +"</querygroup>"
111 125
                                                  +"</pathquery>";
lib/style/skins/saeon/searchPathQuery.js
16 16
	queryString += "<returnfield>creator/individualName/surName</returnfield>";
17 17
	queryString += "<returnfield>creator/organizationName</returnfield>";
18 18
	queryString += "<returnfield>dataset/title</returnfield>";
19
	queryString += "<returnfield>dataset/title/value</returnfield>";
19 20
	queryString += "<returnfield>keyword</returnfield>";
21
	queryString += "<returnfield>keyword/value</returnfield>";
20 22
	queryString += "<returnfield>creator/individualName/givenName</returnfield>";
21 23
	queryString += "<returnfield>idinfo/citation/citeinfo/title</returnfield>";
22 24
	queryString += "<returnfield>idinfo/citation/citeinfo/origin</returnfield>";
......
93 95
		var counter = 0;
94 96
		//EML fields
95 97
		searchFieldArray[counter++] = "abstract/para";
98
		searchFieldArray[counter++] = "abstract/para/value";
96 99
		searchFieldArray[counter++] = "surName";
97 100
		searchFieldArray[counter++] = "givenName";
98 101
		searchFieldArray[counter++] = "organizationName";		
99 102
		searchFieldArray[counter++] = "title";
103
		searchFieldArray[counter++] = "title/value";
100 104
		searchFieldArray[counter++] = "keyword";
105
		searchFieldArray[counter++] = "keyword/value";
101 106
		searchFieldArray[counter++] = "para";
102 107
		searchFieldArray[counter++] = "geographicDescription";
103 108
		searchFieldArray[counter++] = "literalLayout";
lib/style/skins/esa/index.jsp
74 74
	                        submitFormObj.para.value = searchString;
75 75
        	                submitFormObj.geographicDescription.value = searchString;
76 76
                	        submitFormObj.literalLayout.value = searchString;
77
				submitFormObj.operator.value="UNION";
77
							submitFormObj.operator.value="UNION";
78 78
	                        var abs = document.getElementById("abstract");
79 79
        	                abs.value=searchString;
80
        	                var abstractValue = document.getElementById("abstractValue");
81
	                        abstractValue.value="";
82
	                        var keywordValue = document.getElementById("keywordValue");
83
	                        keywordValue.value="";
80 84
	                        var pid = document.getElementById("packageId");
81 85
        	                pid.value=searchString;
82 86
			} else {
......
92 96
                                submitFormObj.operator.value="INTERSECT";
93 97
                                var abs = document.getElementById("abstract");
94 98
                                abs.value="";
95
	                        var pid = document.getElementById("packageId");
96
        	                pid.value="";
99
                                var abstractValue = document.getElementById("abstractValue");
100
		                        abstractValue.value="";
101
		                        var keywordValue = document.getElementById("keywordValue");
102
		                        keywordValue.value="";
103
		                        var pid = document.getElementById("packageId");
104
	        	                pid.value="";
97 105
			}
98 106
                } else {
99 107
                        searchBox.name = "anyfield";
......
108 116
                        submitFormObj.operator.value="INTERSECT";
109 117
                        var abs = document.getElementById("abstract");
110 118
                        abs.value="";
111
	                var pid = document.getElementById("packageId");
112
        	        pid.value="";
119
                        var abstractValue = document.getElementById("abstractValue");
120
                        abstractValue.value="";
121
                        var keywordValue = document.getElementById("keywordValue");
122
                        keywordValue.value="";
123
		                var pid = document.getElementById("packageId");
124
	        	        pid.value="";
113 125
		}
114 126

  
115 127
                var knbCheckBox = document.getElementById("knbCheckBox");
......
166 178
  <input type="hidden" name="surName">
167 179
  <input type="hidden" name="givenName">
168 180
  <input type="hidden" name="keyword">
181
  <input type="hidden" name="keyword/value" id="keywordValue">
169 182
  <input type="hidden" name="para">
170 183
  <input type="hidden" name="geographicDescription">
171 184
  <input type="hidden" name="literalLayout">
172 185
  <input type="hidden" name="@packageId" id="packageId">
173 186
  <input type="hidden" name="abstract/para" id="abstract">
187
  <input type="hidden" name="abstract/para/value" id="abstractValue">
174 188
  <input name="qformat" value="esa" type="hidden">
175 189
  <input name="returnfield" value="originator/individualName/surName" type="hidden">
176 190
  <input name="returnfield" value="originator/individualName/givenName" type="hidden">
......
179 193
  <input name="returnfield" value="originator/organizationName" type="hidden">
180 194
  <input name="returnfield" value="creator/organizationName" type="hidden">
181 195
  <input name="returnfield" value="dataset/title" type="hidden">
196
  <input name="returnfield" value="dataset/title/value" type="hidden">
182 197
  <input name="returnfield" value="keyword" type="hidden">
198
  <input name="returnfield" value="keyword/value" type="hidden">
183 199
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.1" type="hidden">
184 200
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.1.0" type="hidden">
185 201
  <input name="returndoctype" value="eml://ecoinformatics.org/eml-2.0.1" type="hidden">
lib/style/common/common-settings.jsp
36 36
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"creator/individualName/surName\"\\>\n"
37 37
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"creator/organizationName\"\\>\n"
38 38
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title\"\\>\n"
39
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"dataset/title/value\"\\>\n"
39 40
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"keyword\"\\>\n"
41
			+ "<input type=\"hidden\" name=\"returnfield\"   value=\"keyword/value\"\\>\n"
40 42
			+ "<input name=\"returnfield\" value=\"creator/individualName/givenName\" type=\"hidden\">\n"
41 43
			+ "<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/title\" type=\"hidden\">\n"
42 44
			+ "<input name=\"returnfield\" value=\"idinfo/citation/citeinfo/origin\" type=\"hidden\">\n"
lib/style/common/resultset-table.xsl
120 120
                                            &#187;&#160;
121 121
                                        </xsl:text>
122 122
                                        <xsl:choose>
123
                                            <xsl:when test="./param[@name='dataset/title']!=''"><xsl:value-of select="./param[@name='dataset/title']" />
123
                                            <xsl:when test="./param[@name='dataset/title']!=''">
124
                                            	<xsl:value-of select="./param[@name='dataset/title']" />
125
                                            	<xsl:if test="count(./param[@name='dataset/title/value']) != 0">
126
                                            		<br/>
127
	                                            	<xsl:for-each select="./param[@name='dataset/title/value']" >
128
														<xsl:value-of select="." />
129
														<br/>
130
	                                            	</xsl:for-each>
131
	                                            </xsl:if>
124 132
                                            </xsl:when>
125 133
                                            <xsl:otherwise>
126 134
                                                <xsl:value-of select="./param[@name='citation/title']" />
......
172 180
                                    <br />
173 181
                                </xsl:for-each>
174 182
                                <xsl:for-each
183
                                    select="./param[@name='keyword/value']">
184
                                    <xsl:value-of select="." />
185
                                    <br />
186
                                </xsl:for-each>
187
                                <xsl:for-each
175 188
                                    select="./param[@name='idinfo/keywords/theme/themekey']">
176 189
                                    <xsl:value-of select="." />
177 190
                                    <br />

Also available in: Unified diff