Change the xml header in the file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
satheesh_color
Participant
Posts: 182
Joined: Thu Jun 16, 2005 2:05 am

Change the xml header in the file

Post by satheesh_color »

Hi All,

We are generating xml files by using xmloutput stage..while creating the default xml header to be

<?xml version="1.0" encoding="UTF-8"?>

is there any way to change the xml header as below..

<?xml version='1.0' encoding='ISO-8859-1' standalone='yes'?>
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You could use Ereplace() in a Transformer stage downstream of the XML Output stage.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply