Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I struggle to find the reason for my issue concerning the extraction of tag in a TFileInputXML.
First of all, here is a screenshot of the Job
As you can see, there is 2 tFileInputXML. The XML in input file is the same ! The difference is in the tFileInputXML_2, there is a loop in multiple tag.
I run a traces debug and in the below screenshot, you can see all values in tFileInputXML_1
However in the tFileInputXML_2, some value are found and some are not found (default value are assigned)
I don't know why some values are not found. I already made jobs with 4 others XML format (different structure, different tag name) by copy/paste the job and only change the generic schema and the path to the tag but for this XML format, this incoherent behaviour happened and I don't know why...
Namespaces are important in XML to avoid name conflicts, but they add an extra element of complexity to XPaths. Sometimes you do not need them, in which case ignoring the namespaces will make your XPaths easier to write and understand. I assume your XPaths have omitted the namespace where they have failed.