comparison flys-artifacts/doc/conf/meta-data.xml @ 1716:3ca999f507b7

flys/issue314: Variables in datacage are now case insensitive. flys-artifacts/trunk@2994 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 17 Oct 2011 15:53:03 +0000
parents 91d038c7aae5
children 6068b6c90a19
comparison
equal deleted inserted replaced
1715:a70e0cbc5e02 1716:3ca999f507b7
310 FROM collections c JOIN users u ON c.user_id = u.id 310 FROM collections c JOIN users u ON c.user_id = u.id
311 WHERE u.gid = CAST(${user-id} AS uuid) 311 WHERE u.gid = CAST(${user-id} AS uuid)
312 ORDER BY c.creation DESC 312 ORDER BY c.creation DESC
313 </dc:statement> 313 </dc:statement>
314 <dc:elements> 314 <dc:elements>
315 <dc:comment><!--
316 <hello_collection><dc:attribute name="description" value="Collection: id=${collection_id} name='${collection_name}'"/></hello_collection>
317 --></dc:comment>
315 <dc:context> 318 <dc:context>
316 <dc:statement>SELECT id AS a_id, state AS a_state, gid AS a_gid, creation AS a_creation 319 <dc:statement>SELECT m.id AS a_id, m.state AS a_state, m.gid AS a_gid, m.creation AS a_creation
317 FROM master_artifacts m 320 FROM master_artifacts m
318 WHERE collection_id = ${collection_id} AND gid &lt;&gt; CAST(${artifact-id} AS uuid) 321 WHERE m.collection_id = ${collection_id} AND m.gid &lt;&gt; CAST(${artifact-id} AS uuid)
319 AND EXISTS ( 322 AND EXISTS (
320 SELECT id FROM artifact_data WHERE artifact_id = m.id AND k = 'river' AND v = ${river}) 323 SELECT id FROM artifact_data ad WHERE ad.artifact_id = m.id AND k = 'river' AND v = ${river})
321 </dc:statement> 324 </dc:statement>
322 <dc:elements> 325 <dc:elements>
326 <dc:comment><!--
327 <hello_artifact><dc:attribute name="description" value="Artifact UUID: ${a_gid}"/></hello_artifact>
328 --></dc:comment>
323 <dc:choose> 329 <dc:choose>
324 330
325 331
326 <dc:comment> 332 <dc:comment>
327 Import longitudinal sections only if the ${artifact-out} is defined as 'longitudinal_section' 333 Import longitudinal sections only if the ${artifact-out} is defined as 'longitudinal_section'

http://dive4elements.wald.intevation.org