below is my powershell code, to remove all the newlines and tabs of 'data6.xml', but it didn't work at all!\[code\]function Replace-String($find, $replace){ (Get-Content C:/Temp/data6.xml) | Foreach-Object {$_ -replace $find, $replace} | Set-Content C:/Temp/data6.xml }# to remove the [CDATA] tagReplace-String "\<!\[CDATA\[" "" Replace-String "\]\]\>" ""Replace-String "\n" ""Replace-String "`n" ""Replace-String "`t" ""Replace-String "\n" ""\[/code\]