====== GetSha256 ========
Forms a hash value that helps to compare the previous document.
==== Syntax: ====
GetSha256(XPathNodeIterator,NumSubLevels[Optional])
{{:images:sign_warning.png?nolink|}}**Note:** The second optional parameter determines the depth. Possible values are:
- Default Value = -1 (All is hashed)
- Value > 0 (number of sub levels)
==== Examples: =====
=== 1. hashen the header only ===
GetSha256(/TradeItems, 0)
{{:transformation:mappings:funktionen:diffmappingfunktionen:getsha256_header.png?nolink|}}
=== 2nd header + position hash ===
GetSha256(/TradeItems, 1)
{{:transformation:mappings:funktionen:diffmappingfunktionen:getsha256_header_and_position.png?nolink|}}