on 06-22-2007 3:03 PM
Dear Experts,
do you know how to get rid of the "ns1:" prefixes in the target structures, after a (graphical) message mapping was made?
Should I use an additional XSLT/JAVA/... mapping step or is there any "more elegant" way to do this?
Any comments are welcome!
Thank you, best regards,
Andras
http://help.sap.com/saphelp_nw04/helpdata/en/45/d169186a29570ae10000000a114a6b/content.htm
use the XMLAnonymizerBean
or
use /people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi this trick !!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
just to close the thread correctly:
The XMLAnonymizerBean works great!
/another helpful blog /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean /
Thanks guys for the help, points are awarded.
Best regards,
Andras
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andras,
Use Java Mapping to read that ns1 and replace it ....
But why do you need that .. Is there any specific requirement ...?
Regards,
sridhar reddy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
you're very fast with the replies!
I have an XSD for the target format, which was imported as external definition.
It has its own namespace and we should keep it in the message.
In the mapping I use the external definition structure directly, so no message type can be used. That's why I can't use the "trick" from the weblog nr. 2769.
So the question is now more generic: if I use an external XSD, with own namespace, how to keep it in the target message in the original form?
I try now my luck with the XMLAnonymizerBean...
Thank you again,
Andras
Hey
dont put any entry in the XML namespace
thanx
ahmad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.