Retrieving the position of a BOD element
Use the GETPOSITION() function to retrieve the position of a BOD element, especially for elements that occur multiple times in a certain level. The position value can be used as an identifier on which node is being processed.
To retrieve the position of a BOD element:
During inbound BOD processing, the position numbers are added to the XPath log:
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[1]/Name/text()
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[1]/Year/text()
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[1]/Year/GETPOSITION()/text()
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[2]/Name/text()
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[2]/Year/text()
XPATH: ShowFinancialCalendar/DataArea/FinancialCalendar/CalendarYear[2]/Year/GETPOSITION()/text()