Skip to Content
author's profile photo Former Member
Former Member

XSLT mapping help needed

Hi all ,

I need to create xslt mapping where source data is

<?xml version='1.0' ?>

http://rim.com/brightpoint">

<Recordset>

<Data1>

<Data2>ISA:00: :00: :01:1515151515 :01:5151515151 :041201:1217:U:00304:000032123:0:P:*~</Data2>

</Data1>

<Data1>

<Data2>GS:CT:9988776655:1122334455:041201:1217:128:X:003040~</Data2>

</Data1>

<Data1>

<Data2>ST:831:00128001~</Data2>

</Data1>

</Recordset>

</ns:MT_Input>

Output should be txt as

ISA:00: :00: :01:1515151515 :01:5151515151 :041201:1217:U:00304:000032123:0:P:*~

GS:CT:9988776655:1122334455:041201:1217:128:X:003040~

ST:831:00128001~

Can any body please suggest

Thanks

-Kulwant

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 10:57 PM

    What was the answer?

    I would say

    http://www.w3.org/1999/XSL/Transform">

    <xsl:output method="text" encoding="utf-8"/>

    <xsl:template match="/">

    <xsl:copy-of select="*" />

    </xsl:template>

    </xsl:stylesheet>

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 25, 2009 at 08:49 AM

    Hi Kulwant,

    xsl mappings at PI always map from XML to XML. Your target seems to be a flat structure, so you should use a file adapter. If you actually want to do the transformation by mapping, you need to use a mapping what does NOT neccessarily require a parsing; you have the choice between Java or ABAP mapping.

    Regards,

    Udo

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.