Browsing the different files of XML document
The structure of an XML document is represented by different files in the data model editor.
To read the content of an XML file, read the content of main file (the parent) then read the content of linked files (the children).
By default, when reading a file, a filter is automatically applied to the linked files in order to only read the records corresponding to the main file.
The email of this person can be retrieved when browsing the Person file.
To do so, all you have to do is position on the "Person" file and apply HReadFirst
to the "Email" file.
In this case, the record read in the "Email" file will correspond to the first email associated with the current record in the "Person" file.
If this mechanism is disabled (HDeactivateAutoFilter
), the record read in the "Email" file will correspond to the first record found in the Email file (and not to the child of the record read in the "Person" file).