match


Datafile Software

match


match="xxx" — This (input) attribute is required if there are similar branch structures in an input XML file, all headed by exactly the same element (including attributes), and where the data items are to be entered into different data items according to the particular branch. If there were an attribute within the element itself that described the different branches, then there would be no problem. In some cases, however, the branch is described by an immediate child element. The value of this child element can be matched to the xxx given in this match attribute. The element and child structures must be repeated in the Datafile template, with each branch defined with the required match attribute in its top-level element. If an element can be repeated more than once, with no distinguishing attributes, then you may need to use the "repeat” attribute.
Custom Fields

Article ID: 1831
Created On: Mon, Jul 9, 2012 at 4:24 PM
Last Updated On: Thu, Jun 22, 2023 at 4:52 PM

Online URL: https://kb.datafile.co.uk/article/match-1831.html