Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
idembel2
Creator
Creator

GENERATE XML FILE

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
0683p000009Lvz4.png

 

 

 

And i get result bellow where i want to remove all : <?xml version="1.0" encoding="ISO-8859-15"?>

 

0683p000009Lwpc.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

May somebody suggest me a solution 

 

Thanks,

Labels (5)
1 Solution

Accepted Solutions
idembel2
Creator
Creator
Author

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 

 

0683p000009Lwx6.png

 

 

 

 

 

I get solution from this link

 

Thanks,

View solution in original post

6 Replies
manodwhb
Champion II
Champion II

@mbocquet,do you specify root tag? check the settings as below. roor tag you need to specify "StopArea".

 

0683p000009Lvz5.png

manodwhb
Champion II
Champion II

@mbocquet,if still,do you have issue please share the tFileOuputXml setting from your job.

idembel2
Creator
Creator
Author

Hi Manohar,

 

Yes still get bug, because my txmlMap has a document field.0683p000009LwvU.png

 

 

 

 

 

 

 

 

 

And with your suggestion, i have other xml tag 

 

0683p000009LwHf.png

 

 

 

 

 

 

 

 

 

 

 

 

Thanks,

manodwhb
Champion II
Champion II

@mbocquet, Can you share your smaple input data?

manodwhb
Champion II
Champion II

idembel2
Creator
Creator
Author

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 

 

0683p000009Lwx6.png

 

 

 

 

 

I get solution from this link

 

Thanks,