Skip to main content
Announcements
Get Ready. A New Qlik Learning Experience is Coming February 17! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
asafrian1700127126
Contributor III
Contributor III

two namespaces with the same value in advancedfileoutputXML

I have 2 namespaces with the same value, namely

asafrian1700127126_0-1732160959002.png

- xmlns:(default) with static value http://www.energistics.org/energyml/data/prodmlv2
- xmlns:prodml with static value http://www.energistics.org/energyml/data/prodmlv2
I created xmlns:(default) by emptying the prefix.

- If I use those 2 namespaces, the appearance of the top part (header) is as I want, but the other tag parts cause the addition of "prodml:" in each xml tag.

asafrian1700127126_1-1732161300944.png

- but when I only use namespace 1, namely "xmlns:prodml" it produces another tag without prodml (as I expected) but the header is not as I expected (I want 2 namespaces to appear in the header)

- If I empty the prefix section in the namespace, it will be the default, but I tried adding one letter variable, the tag is normal (but I want the header, namely xmlns = xxxxxx without prefix)

What is the solution so that the 2 namespaces can be displayed in the header and not make many additions of "prodml:" on each xml tag? Is there a solution to add a namespace without a prefix but not make it the default?

Labels (3)
2 Replies
asafrian1700127126
Contributor III
Contributor III
Author

@marksouzacosta hi mark, do you have any solution regarding this problem?

marksouzacosta

Hi @asafrian1700127126,

Sorry I don't and I don't have a nice XML to test this scenario.

Regards,

Mark Costa

Read more at Data Voyagers - datavoyagers.net
Follow me on my LinkedIn | Know IPC Global at ipc-global.com