Hi Gurus,
I want one xml output from xslt transformation with no namespace. I managed to remove namespace from child elements by leveraging elementFormDefault ='unqualified' property of xsd. But not able remove namespace from root-element.
Output that I want is :
<?xml version = '1.0' encoding = 'UTF-8'?>
<inp1:Email_Mod_Root>
<Email_Mod_Root_Element>
<Email_Record1>
<PERSON_NUMBER>123456</PERSON_NUMBER>
<COUNTRY/>
<EMAIL_TYPE>WORK</EMAIL_TYPE>
<EMAIL>EMAIL3</EMAIL>
<PRIMARY_FLAG>Y</PRIMARY_FLAG>
</Email_Record1>
</Email_Mod_Root_Element>
</Email_Mod_Root>
Output that I am getting:
<?xml version = '1.0' encoding = 'UTF-8'?>
<inp1:Email_Mod_Root xmlns:inp1="http://www.example.org">
<Email_Mod_Root_Element>
<Email_Record1>
<PERSON_NUMBER>123456</PERSON_NUMBER>
<COUNTRY/>
<EMAIL_TYPE>WORK</EMAIL_TYPE>
<EMAIL>EMAIL3</EMAIL>
<PRIMARY_FLAG>Y</PRIMARY_FLAG>
</Email_Record1>
</Email_Mod_Root_Element>
</Email_Mod_Root>
Anyone, pls suggest.
Thanks in advance,
SG_SOA