cancel
Showing results for 
Search instead for 
Did you mean: 

Reading an xml file as a String

Former Member
0 Kudos

Hi,

I have a file to file scenaio in which i have a Outbound data type that has only a single string field named Data.

I have an xml file as input whose structure is not fixed.

My input xml file should be read like a blob data through this single field.

Is this possible in XI?

AFAIK a xml file will be read only if the outboundDT if of the same structure of the XML.

Please send in ur suggestions as to how this could be acomplished in XI.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be easily done by using xsl mapping.

Using this mapping method, all we need to know, would be the root node of the source, after which a xsl:copyof() can be used to copy the entire source payload.

Regards,

Smitha.

Former Member
0 Kudos

Hi,

If your requirement is to just FTP the file please look at this blog:

/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository

Regards

Vijaya

Answers (2)

Answers (2)

Former Member
0 Kudos

txs

STALANKI
Active Contributor
0 Kudos

Read this and you will definetly have a solution;

/people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping