Top Category
>
General Questions
>
DataSpider Servista
>
[DataSpider Servista] When performing the XML output, I want to prevent empty tags from being output for data without information in the input data
Back
No : 30788
Open Date : 2019/09/05 12:18
Print
NEW
[DataSpider Servista] When performing the XML output, I want to prevent empty tags from being output for data without information in the input data
When executing the XML output, I don't want to output empty tags for data that has no information in the input data. How do I do this?
Category :
Top Category
>
General Questions
>
DataSpider Servista
Answer
By using [Conditional Extraction] in the repetitive process, it is possible to prevent empty tags from being output to nodes without input data.
Summary of Process
It is determined in the mapper whether each element is null data or not, and the data is output only when it is not null data.
Determine whether the target element matches "null character"
<Logic to use>
[Different]
URL:
https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/mapper/document/logic/stringNotEqual.html
[Single-line String Constant]
URL:
https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/mapper/variable/logic/singleLineStringConstant.html
Perform the [Conditional Extraction] process on the element and output only when it does not agree with "null character".
<Logic to use>
[Conditional Extraction]
URL:
https://www.hulft.com/help/en-us/DataSpider/dss42sp2/help/en/mapper/document/logic/ifLoop.html