How to generate xml document with dynamic data

Hi,
I have a scenario to generate XML document with dynamic data .Need to take data through an action then automatically required XML document should be generated

Could you please help me on this

OriginalPostID-255853

  Discussion posts and replies are publicly visible

Parents
  • If the dynamic data is in CDT format, the toxml() function should be of use to you.
    Once the dynamic data is converted to XML string, use the "Text Doc from Template" smart service. In the template, specify a text file containing a single placeholder for the XML.
    Then just rename the file extension to .xml using the "Edit Document" smart service.
    Since XML files are basically text files, you can leverage the "Text Doc from Template" smart service.
Reply
  • If the dynamic data is in CDT format, the toxml() function should be of use to you.
    Once the dynamic data is converted to XML string, use the "Text Doc from Template" smart service. In the template, specify a text file containing a single placeholder for the XML.
    Then just rename the file extension to .xml using the "Edit Document" smart service.
    Since XML files are basically text files, you can leverage the "Text Doc from Template" smart service.
Children
No Data