Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Morning All,
I generate an xml file which look good.
But i have just one problem, i don't want XML coder and character encoding appear in my output.
My job looks like bellow
And i get result bellow where i want to remove all : <?xml version="1.0" encoding="ISO-8859-15"?>
May somebody suggest me a solution
Thanks,
Hi,
I jind another way to solve this problem, i read xml file withe tFileInputFullRow component then remove all lines with thois code " yourString.replaceAll("\\<\\?xml(.+?)\\?\\>", "") " in a tMap
I get solution from this link
Thanks,
@mbocquet,do you specify root tag? check the settings as below. roor tag you need to specify "StopArea".
@mbocquet,if still,do you have issue please share the tFileOuputXml setting from your job.
Hi Manohar,
Yes still get bug, because my txmlMap has a document field.
And with your suggestion, i have other xml tag
Thanks,
@mbocquet, Can you share your smaple input data?
did you verify below link.
https://help.talend.com/reader/ixBASPZJ7IvqUQVupZwWbg/EFuE5Nul595D24TRwbFnbw
Hi,
I jind another way to solve this problem, i read xml file withe tFileInputFullRow component then remove all lines with thois code " yourString.replaceAll("\\<\\?xml(.+?)\\?\\>", "") " in a tMap
I get solution from this link
Thanks,