none
how to flush xml contents RRS feed

  • Question

  • hi,

    im reading the contents from xml file and using in powershell and updating the xml contents using 

    [xml] $xml = Get-Content $path
    //updating the contents of xml
    $xml.save($path)

    i have to use those updated contents but contents are updating at the end of program termination.

    could you help me how can flush xml contents immediatly..

    regards,

    goutham.

    Thursday, June 30, 2016 3:41 AM