Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.



Read-Only Read-Only Topic
Go
Search
Notify
Tools
iAT long string to XML
 Login/Join
 
Member
posted
In Adapter Transformer, I have a long string in the format

HeaderData Item1DataElement1 Item1DataElement2 Item2DataElement1 Item2DataElement2

I need to transform it into XML in the format

<HeaderData>
HeaderData
</HeaderData>

<ItemData>
<Element1>
Item1DataElement1
</Element1>
<Element2>
Item1DataElement2
</Element2>
</ItemData>

<ItemData>
<Element1>
Item2DataElement1
</Element1>
<Element2>
Item2DataElement2
</Element2>
</ItemData>

The problem is that I can't figure out how to get the items into their appropriate sections. I was thinking that it would take two transforms. The first would get the data into the format

<HeaderData>
HeaderData
</HeaderData>

< Item1DataElement1>
Item1DataElement1
</Item1DataElement1>

< Item1DataElement2>
Item1DataElement2
</ Item1DataElement2>

< Item2DataElement1>
Item2DataElement1
</ Item2DataElement1>

< Item2DataElement2>
Item2DataElement2
</ Item2DataElement2>

Then I thought I could translate this to the final format, but iAT won’t let me translate both Item1DataElement1 and Item2DataElement1 into Element1.

I’m open to either a correction in my strategy or a whole new one.

This message has been edited. Last edited by: tbush,
 
Posts: 2 | Registered: April 19, 2007Report This Post
Expert
posted Hide Post
Hi tbush,

Our internal expert reviewed this topic and suggested that this does not seem to be something to be done naturally. For further research, a case may be of better help because we will need to see a full example with much more details.

To open a case with Information Builders' Customer Support Services, you may either call at 1-800-736-6130, or access the online system InfoResponse at http://techsupport.ibi.com. Here is a list of information to be ready when you call: http://techsupport.ibi.com/before_you_call.jsp.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic


Copyright © 1996-2020 Information Builders