Forum Discussion

Sahil's avatar
Sahil
Contributor
5 years ago
Solved

XML split in pipeline

I have a scenario where main xml needs to be splitted into multiple xmls. Main xml:- <?xml version="1.0" encoding="UTF-8"?> <Order> <Main> <Version>2.1</Version> <SenderID>55544566</Se...
  • SpiroTaleski's avatar
    4 years ago

    @asingh760

    I am attaching two sample pipelines:

    1)Parent - which groups the data based on the email and send the data to Child pipeline.
    2)Child - which split the groups, apply xslt transformation(generate HTML table), and send the table through email.
    Parent_2021_08_27.slp (4.9 KB)
    Child_2021_08_27.slp (10.2 KB)
    Also, I am attaching the sample XSLT file, which you can modify based on your requirements:
    XSLT_Transformation (1).txt (1.1 KB)
    Note: You must create a SMTP account in order to be able to send emails, using Emails Sender Snap.

    Regards,
    Spirp Taleski