Skip to content

Commit

Permalink
Add prefix to brp messages and identif columns
Browse files Browse the repository at this point in the history
  • Loading branch information
mtoonen committed Jun 14, 2019
1 parent b3b6562 commit 0514f86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private String getObjectRef(Node n) {
break;
}
}
return hash;
return PREFIX + hash;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions brmo-loader/src/main/resources/xsl/brp-to-rsgb-xml.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</data>
</root>
</xsl:template>

<xsl:template match="ns2:PRS">
<xsl:variable name="objRef"><xsl:value-of select="$objectRef"/></xsl:variable>
<xsl:variable name="class">INGESCHREVEN NATUURLIJK PERSOON</xsl:variable>
Expand Down Expand Up @@ -223,7 +223,7 @@
<xsl:template name="getHash">
<xsl:param name="bsn"/>
<xsl:variable name="bsnwithprefix"><xsl:value-of select="'NL.BRP.Persoon.'"/><xsl:value-of select="$bsn"/></xsl:variable>
<xsl:variable name="hashedbsn"><xsl:value-of select="/root/bsnhashes/*[name() =$bsnwithprefix]"/></xsl:variable>
<xsl:variable name="hashedbsn"><xsl:value-of select="'NL.BRP.Persoon.'"/><xsl:value-of select="/root/bsnhashes/*[name() =$bsnwithprefix]"/></xsl:variable>
<xsl:value-of select="$hashedbsn"/>
</xsl:template>

Expand Down

0 comments on commit 0514f86

Please sign in to comment.