on 08-04-2010 7:25 AM
Hi Experts,
I am getting my XML output has
<?xml version="1.0" encoding="UTF-8"?>
<ns1:abc xmlns:ns1="http://abc.com">
<ns1:First_Name>44</ns1:First_Name>
<ns1:Last_Name>444</ns1:Last_Name>
</ns1:Profile>
BUt here in this XML I have to remove prefix ns1:
and my desired output should be as below
<?xml version="1.0" encoding="UTF-8"?>
<abc xmlns="http://abc.com">
<First_Name>44</First_Name>
<Last_Name>444</Last_Name>
</abc>
I tried all the ways plz give me solution for this
Thanks in Advance
Regards,
Prasad
Use XMLAnonymizerBean communication channel.
/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Open your sender Message Type and emty the field XML Namespace. Then try again.
Regards,
Prateek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
double check, if you have put parameter anonymizer.acceptNamespaces correctly.
It should be
'' = two apostrophes
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.