Functions Used in Mapping Are
Functions Used in Mapping Are
i)arithmetic
ii)boolean
iii)constants
iv)conversions
v)date
vi)node functions
vii)static
viii)text
Context:context of an element is nothing but just the level(with reference to its parent
node)where the xml tag appears in the xml document.
Context change:context change is just changing the level of an xml tag(element level in
the xsd)of an xml document
Queue:a queue contains the entire xml instance of the source message.
vi)NODE FUNCTIONS:
Create if
Replace value
Exists
Remove context
Split by value
Collapse context
Use one as many
Sort and sort key
Map with default
Format by example
Create if: it will create a target node or element based on a condition.
Replace value:it replaces the value i with the value that you desired in the dialogue or
function properties.
Remove context :it removes all higher level contents of the source level message in
order to map with the target level message field.so you can get the node context
removal.
Split by value: insert context change for an element split by value is some counter part
of remove context.here instead of delivering the context we can insert the context
change in the source value queue
Collapse context:copies first values of all the context in to one context empty context
are replaced by empty string.
Use one as many:if a field occurs that only once needs to be replicated as often as
another field in the outbound message so that the fields can be written in the target
structure in pairs as a record