cancel
Showing results for 
Search instead for 
Did you mean: 

Node of an xml document contains again a complete xml document

Former Member
0 Kudos

I have a XML message and in this XML message I have a node that contains again a complete XML message. Here is a sample message:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_RETR_CWD_RES xmlns:ns0="http://www.xyz.de/sample/">

<DocsAndCound>

<count>2</count>

<doc>& l t ; ?xml version=& q u ot;1.0& q u ot; encoding=& q u ot;UTF-8& q u o t;?&g t ;& l t; ….. complete XML document …..& g t ;</doc>

</DocsAndCount>

</ns0:MT_RETR_CWD_RES>

(I have inserted some spaces.)

Is there any chance to manage this content with XI standard mappings? If not what could be the best way?

Accepted Solutions (0)

Answers (1)

Answers (1)

prabhu_s2
Active Contributor
0 Kudos

not sure if std mapping could help in this scenario but u can check with java mapping

Former Member
0 Kudos

Yes this is of course always an opportunity and I have done this already for some of my other mappings but I would like to avoid this. But I'm afraid this isn't possible.

This is here my last hope to get a hint how I can do this with a standard mapping. Otherwise I will use Java mapping.

prabhu_s2
Active Contributor
0 Kudos

even though using an udf in std graphical mapping might not work for some of the technciall challenges in mapping the fields values. the optimal way would be java mapping for the flexibility it offers.

Former Member
0 Kudos

Okay, thank you.