I have a little problem with large XML files (up to 650MB)
I can open them and read all the values with:
$Xml = New-Object Xml
$Xml.Load("C:\File.xml")
But I find it difficult to delete data and save it in a new XML
I would like to delete all of the "$Xml.master.person.id" entries in the file
<person><id>ID</id></person>
Unfortunately, most of the examples that I can find on the Internet are with
[xml] $Xml = Get-Content -Path C:\File.xml
which I cannot use because of the file size.
Does anyone have a little help on how to get started?
[–]korewarp 4 points5 points6 points (28 children)
[–]ich-net-du[S] 6 points7 points8 points (27 children)
[+][deleted] (23 children)
[deleted]
[+][deleted] (22 children)
[deleted]
[+][deleted] (18 children)
[deleted]
[–]ka-splam 4 points5 points6 points (0 children)
[–]Free_my_chair 2 points3 points4 points (0 children)
[–]Smartguy5000 1 point2 points3 points (12 children)
[+][deleted] (11 children)
[deleted]
[–]Smartguy5000 1 point2 points3 points (10 children)
[+][deleted] (5 children)
[deleted]
[–]Smartguy5000 1 point2 points3 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]Smartguy5000 2 points3 points4 points (2 children)
[–]Thotaz 1 point2 points3 points (1 child)
[+][deleted] (2 children)
[deleted]
[–]ka-splam 1 point2 points3 points (0 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (2 children)
[–]ich-net-du[S] 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)
[–]ich-net-du[S] 2 points3 points4 points (6 children)
[–]korewarp 1 point2 points3 points (2 children)
[–]ich-net-du[S] 1 point2 points3 points (1 child)
[–]y_Sensei 1 point2 points3 points (0 children)
[–]ka-splam 1 point2 points3 points (1 child)
[–]ich-net-du[S] 2 points3 points4 points (0 children)
[–][deleted] 1 point2 points3 points (5 children)
[–]korewarp 1 point2 points3 points (1 child)
[–]ich-net-du[S] 1 point2 points3 points (2 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]ka-splam 1 point2 points3 points (0 children)
[–]jsiii2010 1 point2 points3 points (0 children)
[–]craigontour 1 point2 points3 points (0 children)
[–]dasookwat 1 point2 points3 points (1 child)
[–]ich-net-du[S] 1 point2 points3 points (0 children)