CIB merge technical documentation (EN)
6. Call parameters in detail
6.57. Parameter --prefix-delimiter
The parameter --prefix-delimiter defines a separator between alias and variable name and enables the prefix mechanism
Syntax
--prefix-delimiter=<Trennzeichen>
Description
By setting the --prefix-delimiter parameter, the delimiter is specified which, together with the alias, is placed in front of the variables in the raw text. This is useful for instance when using multiple nodes to keep the variables unique. The default value is “.“ .
Example
--headerfile=XML:Daten_mitAlias.xml --datafile=/root/multi --multidatafile --prefix-delimiter
XML file:
<root> <multi> <Kunden>XML:$(this);/root/data/Kunden/Kunde</Kunden> <Einzelposten>XML:$(this);/root/data/Posten/Einzelposten</Einzelposten> </multi> <data> <Kunden> <Kunde> <Vorname>Franz</Vorname> <Name>Meier</Name> <Strasse>Teststr. 4</Strasse> <PLZ>12345</PLZ> <Ort>Musterdorf</Ort> <Geschlecht>M</Geschlecht> <KundenNr>9898989</KundenNr> <AuftragsNr>111111-2</AuftragsNr> <Betrag>999</Betrag> </Kunde> weitere Kunden ...... </Kunden> <Posten> <Einzelposten> <KundeAuftragsNr>111111-2</KundeAuftragsNr> <Bezeichnung>Artikel1</Bezeichnung> <Betrag>999</Betrag> </Einzelposten> weitere Einzelposten.... </Posten> </data> </root>
A "." is defined as separator (default). For raw texts, all accesses to variable names must be supplemented by the alias name and the separator. This makes the variable amount unique, for example. Extract from the raw text:
{REF customers.Amount}
{REF single item.Amount}
The parameter is used in the application example Serial Letter.