4 Replies Latest reply on Nov 17, 2020 12:48 PM by sdepriest

    How to remove prolog from XML file

    sdepriest Guru


      I have a PowerCenter map with an XML Target, and I have a requirement to remove the prolog information (highlighted in yellow) from the XML files I'm producing.  Is there a way to do this? 

      Prolog to remove

      The KB 103810 & 157026 has some ideas, but I don't know how to implement the idea in 157026 because can you even do that prior to linking to an XML Target definition?  PowerCenter is on a Windows box, so the suggestion for the post-session command won't work, unless there is some PowerShell or DOS command that will do something similar?

      I'm looking for an option like in KB 146744 I think, but that was in such an old version of DT Studio.