Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.
#Automation
I have following string which I am converting to node and then document. I wonder why namespaces are not shown in document, Here is my string, <intf:sendHadaya xmlns:intf=“http://hadya.test.ibm.com” xmlns:tns1=“[URL]http://dto.hadya.enpo.test.com”>intf:hadyaInfo[/URL] tns1:senderAddress </tns1:senderAddress> tns1:receiverPhone </tns1:receiverPhone> tns1:receiverNameMohamedHassin</tns1:receiverName> tns1:senderPhone0507014790</tns1:senderPhone> tns1:transferDate2009-01-21T08:17:03.000</tns1:transferDate> tns1:amount1000.0</tns1:amount> tns1:receiverMobile </tns1:receiverMobile> tns1:cardNoHP910000027SA</tns1:cardNo> tns1:senderId271</tns1:senderId> tns1:hadyaCardsList intf:item tns1:cardSeqHP910000027SA</tns1:cardSeq> tns1:cardCodeHP910000027SA</tns1:cardCode> tns1:cardAmount1000.0</tns1:cardAmount> </intf:item> </tns1:hadyaCardsList> tns1:hadyaIdHP910000027SA</tns1:hadyaId> tns1:expireDate2009-01-21T08:17:03.000</tns1:expireDate> tns1:receiverId124547845</tns1:receiverId> </intf:hadyaInfo> </intf:sendHadaya> Now I want xmlns name space in my document. for that I define two strings (intf and tns1) under nsDecls while conversion from node to document. But output document does not contain name spaces. Any comments please, Faisal,