# Write-RSSStream.ps1 # This sample shows how to use the XMLTextWriter # Based on Halr's content, but extended. # Thomas Lee - tfl@psp.co.uk # Define output $path = " c:\foo\file.xml " # Create encoding, and create xml writer $encoding = [System.Text.Encoding] :: UTF8 $writer = New - Object System.Xml.XmlTextWriter( $Path , $encoding ) $writer .Formatting = [system.xml.formatting] ::...