Page 1 of 1

DS 8.5 XML-Stage - Output of tags without content

Posted: Thu Jan 31, 2013 6:08 am
by MT
Hi,

we are using the new XML-Stage of DataStage 8.5 and we have to provide the XML-tags even when the content is empty or null.

There is a setting in the composer step on the format tab which I though would do the job:
"Omit Null Elements" is unchecked
but the stage does not return the tags for a null input.

The documentation for this stage is very "sparse" I would say.

So I hope someone might have an idea how to achieve this.

My questions is twofold:
1. How do I get the empty tags with null input for mapped fields?
2. Is there a way to get the empty tags when a field is not mapped in the assemby editor?

Many thanks in advance