on 05-14-2008 11:13 AM
Hi,
I'm having problems with prefixes:
The first problem:
How do I remove prefixes that does were not even declared in the xsd's?Take note that the xsd used did not have external dependencies (did not use the include or import schema command) because all its contents were encoded inside the xsd itself.
from
Message
ns0:Header
ns0:Content
to
Message
Header
Content
The second problem:
How do I add prefixes in the output of XI? Take note that the xsd used external dependencies.
from
Message
Header
Content
to
Message
sh:Header
sh:Content
Please help me on this one. Points will be awarded. Thanks
hi,
you have to simply add one module in your communication channel
that is XMLAnonymizerBean
you can refer below for help:
/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
http://help.sap.com/saphelp_nw04/helpdata/en/2e/bf37423cf7ab04e10000000a1550b0/frameset.htm
hope it helps.
reward point 4 useful ans.
regards,
ujjwal kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First problem
***************
If you don't want to have the prefix ns0, in your external definition (xsd) add something like this:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Header">
....
instead of ns0
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Content">
-
instead of ns0
second problem
******************
please do viceversa
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="ns0:Header">
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.