Revision 43514
Added by Claudio Atzori over 7 years ago
claimUpdates_2_hbase.xml | ||
---|---|---|
56 | 56 |
|
57 | 57 |
<xsl:variable name="objidentifier" select="//record/*[local-name() = 'header']/*[local-name() = 'objIdentifier']"/> |
58 | 58 |
|
59 |
<xsl:variable name="resultId" select="dnet:oafSimpleId('result', $objidentifier)"/>
|
|
59 |
<xsl:variable name="publicationId" select="dnet:oafSimpleId('publication', $objidentifier)"/>
|
|
60 | 60 |
|
61 | 61 |
<xsl:variable name="hostedbyid" select="dnet:oafSplitId('datasource', //oaf:hostedBy/@id)"/> |
62 | 62 |
<xsl:variable name="hostedbyname" select="//oaf:hostedBy/@name"/> |
... | ... | |
64 | 64 |
<xsl:variable name="collectedfromid" select="dnet:oafSplitId('datasource', //oaf:collectedFrom/@id)"/> |
65 | 65 |
<xsl:variable name="collectedfromname" select="//oaf:collectedFrom/@name"/> |
66 | 66 |
|
67 |
<xsl:variable name="result"
|
|
68 |
select="dnet:oafResultUpdate($resultId, $provenance, $trust, $metadata, $hostedbyid, $hostedbyname)"/>
|
|
67 |
<xsl:variable name="publication"
|
|
68 |
select="dnet:oafPublicationUpdate($publicationId, $provenance, $trust, $metadata, $hostedbyid, $hostedbyname)"/>
|
|
69 | 69 |
|
70 | 70 |
<ROWS> |
71 |
<ROW key="{$resultId}" columnFamily="result">
|
|
71 |
<ROW key="{$publicationId}" columnFamily="publication">
|
|
72 | 72 |
<QUALIFIER name="{concat('update_', date:nanoTime())}" type="base64"> |
73 |
<xsl:value-of select="$result"/>
|
|
73 |
<xsl:value-of select="$publication"/>
|
|
74 | 74 |
</QUALIFIER> |
75 | 75 |
</ROW> |
76 | 76 |
</ROWS> |
Also available in: Unified diff
created dataset dedicated entities