on 11-15-2012 6:04 PM
Dear friends,
I have a question regarding a scenario im working on right now...
I've an input xml structure like below and I have to write the text in de CDATA section on a ftp server...
<?xml version="1.0" encoding="UTF-8"?>
<bet:document xmlns:bet="http://www.xxx.com/2012/11/text">
<data>
<plain-text><![CDATA[
This is the text file
]]></plain-text>
</data>
</bet:document>
Im using a XSLT mapping to get the content of the CDATA section. In this case This is the text file...
My question is how can I pass this text in the output of an Operation Mapping? Isn't it the case that our output in an Operation Mapping has to be a XML structure?
I appreciate your help,
Regards,
John
Hi John,
While that is generally true there are ways around that (i.e. java mapping as a step will not result in XML validation of target structure necessarily). So an option here would be to map the data to a target structure and then use FCC to strip out the XML content of the message to leave the plain text on the FTP server.
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi John,
When you select outout methid type as text in XSL then it generates Text outout and Operation mapping output will be text.
but this kind of scenario works with out issues.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.