[XML Records] Allow XML comment's within the XML

Forge Component
(35)
Published on 1 Apr (3 weeks ago) by Afonso Carvalho
35 votes
Published on 1 Apr (3 weeks ago) by Afonso Carvalho

The XmlToRecordList fails incase there are XML comments in the file.

Allow XML comment's within the XML <!-- this is some comment -->

Current workaround is 

SyntaxEditor Code Snippet

Regex_Replace(xmlText,"<!--.*-->","",IgnoreCase:True,MultiLine:True,SingleLine:False)