comparison flys-artifacts/doc/conf/meta-data.xml @ 1760:424e26041564

Configured datacage to hand out id of artifact that can produce the w_diff. flys-artifacts/trunk@3073 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 25 Oct 2011 13:08:31 +0000
parents 1d78039a36e6
children 577e8843ceeb
comparison
equal deleted inserted replaced
1759:c51089a84d13 1760:424e26041564
395 ----------------------------------------------------- 395 -----------------------------------------------------
396 </dc:comment> 396 </dc:comment>
397 <dc:choose> 397 <dc:choose>
398 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')"> 398 <dc:when test="dc:contains($artifact-outs, 'longitudinal_section')">
399 <dc:context> 399 <dc:context>
400 <dc:statement> 400 <dc:statement>
401 SELECT a.gid as aid, f.id AS fid, f.name AS facet_name, f.num AS facet_num, f.description as facet_description
402 FROM outs as o, facets as f, artifacts as a
403 WHERE f.name = 'w_differences' and f.out_id = o.id and o.artifact_id = a.id;
404 </dc:statement>
401 SELECT name AS facet_name, num as facet_num, description AS facet_description 405 SELECT name AS facet_name, num as facet_num, description AS facet_description
402 FROM facets 406 FROM facets
403 WHERE name = 'w_differences' 407 WHERE name = 'w_differences'
404 ORDER BY num ASC, name DESC 408 ORDER BY num ASC, name DESC
405 </dc:statement> 409 </dc:statement>
406 <dc:elements> 410 <dc:elements>
407 <differences> 411 <differences>
408 <dc:element name="${facet_name}"> 412 <dc:element name="${facet_name}">
409 <dc:attribute name="description" value="${facet_description}"/> 413 <dc:attribute name="description" value="${facet_description}"/>
410 <dc:attribute name="ids" value="${facet_num}"/>
411 <dc:attribute name="factory" value="winfo"/> 414 <dc:attribute name="factory" value="winfo"/>
412 <!--dc:attribute name="artifact-id" value="${a_gid}"/--> 415 <dc:attribute name="artifact-id" value="${aid}"/>
416 <dc:attribute name="ids" value="${aid}"/>
413 <dc:attribute name="out" value="w_differences"/> 417 <dc:attribute name="out" value="w_differences"/>
414 </dc:element> 418 </dc:element>
415 </differences> 419 </differences>
416 </dc:elements> 420 </dc:elements>
417 </dc:context> 421 </dc:context>

http://dive4elements.wald.intevation.org