Job Design:
EXTERNAL SOURCE--->XML Input--->Transformer--->Sequential File.
And the XML file as follows:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<Header>
<ID>99-012-X2011038</ID>
<Prepared>2013-06-16T10:20:34.0955368-04:00</Prepared>
<Sender id="STC">
<Name xml:lang="fr">Statistique Canada</Name>
<Name xml:lang="en">Statistics Canada</Name>
</Sender>
</Header>
Need to load only lang="en" values into the sequential file. But, XML input stage reads the first value lang="fr default. Since, lang="en" is second value from the list, it is not been loaded.
Please let me if there are any suggestion on this.
Thanks in advance