Skip to Content
0
Nov 15, 2012 at 06:04 PM

XML input and Text output in an Operation Mapping

38 Views

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