Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You should be able to select XML as your output format in most destinations (including local FS, for example). It will essentially transform the full SDC record into XML. It might be possible to achieve the format you want by manipulating the SDC record field names/paths (using expression evaluator, etc.) in such a way that the generated XML looks the way you need as it is written to the destination. In that case, you will not need to do any scripting. If you want to do this in the middle of a pipeline (and capture the XML content in a STRING field), you can use the _Data Generator_ processor and select the _XML_ format there.

You really should only need to do scripting if you need very specific control over the XML format that it outside of what can be generated easily.

You should be able to select XML as your output format in most destinations (including local FS, for example). It will essentially transform the full SDC record into XML. It might be possible to achieve the format you want by manipulating the SDC record field names/paths (using expression evaluator, etc.) in such a way that the generated XML looks the way you need as it is written to the destination. In that case, you will not need to do any scripting. If you want to do this in the middle of a pipeline (and capture the XML content in a STRING field), you can use the _Data Generator_ Data Generator processor and select the _XML_ XML format there.

You really should only need to do scripting if you need very specific control over the XML format that it outside of what can be generated easily.

You should be able to can select XML as your output format in most destinations (including local FS, for example). some destinations. It will essentially transform the full SDC record into XML. It might be possible to achieve the format you want by manipulating the SDC record field names/paths (using expression evaluator, etc.) in such a way that the generated XML looks the way you need as it is written to the destination. In that case, you will not need to do any scripting. If you want to do this in the middle of a pipeline (and capture the XML content in a STRING field), you can use the Data Generator processor and select the XML format there.

You really should only need to do scripting if you need very specific control over the XML format that it outside of what can be generated easily.easily, or you need to write to a destination such as Local FS that does not support XML output.