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

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

  
Forge Component
(28)
Published on 5 Feb by Afonso Carvalho
28 votes
Published on 5 Feb 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)