on 10-25-2007 7:39 AM
Hi XI Experts,
<?xml version="1.0" encoding="UTF-8"?>
<b><ns0:AAA xmlns:ns0="http://Abc.com"></b>
<DocHeader><ClientID>ABC</ClientID><ClientDocID>null</ClientDocID><UserID>PurchaseOrder</UserID></DocHeader><Request Type="PO" action="insert"><ClientReference>PO-0099000099</ClientReference><DeliveryDate>20071025</DeliveryDate><Vendor>5104</Vendor><OrderLine><ExpectQTY>1.000</ExpectQTY></OrderLine></Request>
<b></ns0:AAA></b>
Please tell me how to avoid the xml content which is in <b>Bold</b>?
Thank X in Advance......
Hi,
I think you can do it. Remove it from your message type "<b>XML Namespace</b>"
and it will work.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
There are two approaches;
1. Bean - /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
2. From MT - /people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
for removing namespace from ur XML content,remove the namespace from field XML namespace while defining message type.
Refer:
/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
and for removing </ns0:AAA> u can use XMLAnonymizerBean in modules.
refer:
/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
Regards,
Anoop
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i dnt thkn you can abvoid that from payload...can you give more inputs on why you wna to remove namesapce....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.