AnsweredAssumed Answered

Extract "<?xml version='1.0' encoding='utf-8'?>" from string using a Regular Expression

Question asked by dstuart on Jun 21, 2018
Latest reply on Jun 26, 2018 by dstuart

Hi Folks, Hope someone can help.


I have been working to get the Embedded Repeating Sections working in 365 Workflow and I am really close to getting it to work. I have one last hurdle.


I have been building Strings from the NFFormData And feeding that into text Variables. This is allowing me to strip out all extra XML generated by the the Embedded Sections and allow me to produce some readable xml for the Workflow to use.


The only bit I am having an issue with is removing the extra ><?xml version='1.0' encoding='utf-8'?>< strings produced by each Embedded Section. (it has double lt; and gt; to distinguish it from the main xml header that I need to retain.


Can anyone help me with this as I cannot remove the string. I have tried but have failed constantly.


Many Thanks

Dave Stuart