Skip to Content
avatar image
Former Member

Generate Dynamic XML

Is it posible to generate a dynamic XML with XI.

The idea is to build a interface RFC to HTTP, where the output has to be a dynamic XML, I mean, we need to build the XML.

For this case, he RFC is going to have the information of the data, and the type of data (TABLA; STRUCTURE, etc)

If anyone have some information about this, please let me know.

Best regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    Jul 20, 2009 at 10:39 AM

    Hi ,

    We can build Dynamic XML,use regex and write java code we can build,but using regex extensivly is not a best advice.

    Regards,

    Raj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 20, 2009 at 01:50 PM

    Hi Oscar.

    You can try to use XSLT , if you need the XML oputput has to be dynamic.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 20, 2009 at 02:47 PM

    The problem is I don't know how to map this. For XLST map, we need to know the output xml.

    Anybody knows how to do that?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 24, 2009 at 02:28 PM

    /bump

    The original message started four months ago, and obviously never got answered.

    I'm facing the same challenge atm .. anyone with brilliant ideas ?

    Input = fixed data

    output = xml format, fully based on the content of the input - eg. field-content determines the xml-tags as well as the values of the tags.

    Platform : SAP PI 7.1

    Edited by: SAP Consultant on Nov 24, 2009 3:30 PM

    Edited by: SAP Consultant on Nov 24, 2009 3:31 PM

    Edited by: SAP Consultant on Nov 24, 2009 3:31 PM

    Add comment
    10|10000 characters needed characters exceeded