Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix L XML Conversion Function Mapping Rules |
The following example shows how to convert one row of the results table to a set of XML documents.
The XML conversion function processes the results table line by line, and so the record set in the first row of the results table will be converted when the mapping rule definitions are applied.
The XML conversion procedure used in the example above is explained below. (Rule 1 to Rule 4 below refer to the mapping rules from the figure above.)
Each definition tag must specify an 'id' attribute that is a unique identifier within the mapping rule file. These identifiers are used with the 'parent' attributes of other tags to specify parent-child relationships in hierarchical structures.
The hierarchical structure in the following figure shows the parent-child relationships for this mapping.
Contents
Index
![]() ![]() |