In a single file

We have to generate a single file (and can only copy one file to the job directory), which will contain all the references to the objects and, within each one of them, all the operations that need to be applied to each object. In this case, the file can have any name we wish (with the XML extension), except for any name which could be confused with a LUOI, such as:

<number>.<number>.xml

The internal structure of the file is very similar to the previous one. The object element will repeat itself as many times as objects we want to update, indicating the LUOI as its attribute. The object elements will have to go inside the parent element objects. The following sample illustrates the structure:

<objects>
    <object LUOI="">
        <operation>
            <type><type>
            <iecode><![CDATA[]]></iecode>
            <idValueMetadata></idValueMetadata>
            <value><![CDATA[]]></value>
        </operation>
        <operation>
            <type></type>
            <iecode><![CDATA[]]></iecode>
            <idValueMetadata></idValueMetadata>
            <value><![CDATA[]]></value>
        </operation>
    </object>
    .
    .
    .
    .
    <object LUOI="">
        <operation>
            <type></type>
            <iecode><![CDATA[]]></iecode>
            <idValueMetadata></idValueMetadata>
            <value><![CDATA[]]></value>
        </operation>
        <operation>
            <type></type>
            <iecode><![CDATA[]]></iecode>
            <idValueMetadata></idValueMetadata>
            <value><![CDATA[]]></value>
        </operation>
    </object>
</objects>

Last updated