IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

bringing all chidren under the node.urgent

  • 1.  bringing all chidren under the node.urgent

    Posted 02/05/05 08:13 AM

    I am facing a problem in xslt .Below is my input xml file.


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


    Anoop Chaako Samuel

    Bank Street
    GurgoanCity
    Haryana



    module11
    12-oct-2004
    30-oct-2004


    module12
    31-oct-2004
    30-nov-2004


    module13
    01-jan-2005
    30-jan-2005





    SourceBuildBindDocument
    Source BuildBind Document


    DataProductSourceIdentifier
    DPSIDSI Document




    Now my Output xml file should be as following.

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


    Anoop Chaako Samuel

    Bank Street
    GurgoanCity
    Haryana



    SourceBuildBindDocument
    Source BuildBind Document

    module11
    12-oct-2004
    30-oct-2004


    module12
    31-oct-2004
    30-nov-2004



    DataProductSourceIdentifier
    DPSIDSI Document

    module13
    01-jan-2005
    30-jan-2005







    I am facing the problem in regruping the assignment tag under the project and placing the project tag under the worker tag.

    I am novice to XSLT.Can anybody help me in this ragard.

    Jithu


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: bringing all chidren under the node.urgent

    Posted 02/11/05 01:35 PM

    Hi,
    The attached example should help you get started. It processes each worker, finds projects he is assigned to, copies the project details and then copies the relevant assignment details.

    HTH
    test.xsl (1.33 KB)


    #webMethods
    #Tamino
    #API-Management