on 12-02-2010 12:31 PM
Hi,
I have an IDOC -> PI -> File scenario. Some of the data from the IDOC needs to be enclosed in CDATA tag before sending to File system. This is a client requirement and we cannot change it.
Input to PI:
<IDOC>
<Segment>jkdbvqpwuvgbbv</Segment>
</IDOC>
Output of PI:
<Details>
<Value><![CDATA[jkdbvqpwuvgbbv
]]>
I tried using Concat function in Message Mapping but the < and > tags (of CDATA) get converted to lt and gt characters if I check the source view of mapping test. This should not happen. The tags should come properly without getting converted to any other characters.
Any suggestion on above requirement?
Thank you,
Pankaj.
> Any suggestion on above requirement?
CDATA is not supported by the graphical mapping tool.
Use XSLT or Java mapping or convice the client to change the requirements, as the CDATA absolutely make no sense, when the content comes from an XML element, which means there are no markups inside.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.