Hi,
when you want to change default namespace "my" , you have to do some changes to schema.xsd file manually
Before changing,
<xsd:schema targetNamespace="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-01-31T18:02:35" xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2006-01-31T18:02:35" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
When you want change “my” to “ns0”,
Ns0 namespace and targetnamespace should be same and you want apply this to elements you have to put elementFormDefault="qualified" and for not attributes you have to put attributeFormDefault="unqualified" ,
After changing
<xsd:schema targetNamespace="http://xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" xmlns:ns0="http://xxxxxxxxxxxxxxxxxxxxxxxxxxx" xmlns:xsd
http://www.w3.org/2001/XMLSchema elementFormDefault="qualified" attributeFormDefault="unqualified">
I hope this will help you,
K.Ramana Reddy
Infopath Dev India