I ran across something that said that you cannot update a local file !
For my sake I hope this is not true. Anyways if it is possible can you tell me what I doing wrong here. When you load doc.kml it does load link.kml but no updating takes place. No errors just does nothing.
doc.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="
http://earth.google.com/kml/2.1">
<Document>
<name>KMZoutput</name>
<visibility>1</visibility>
<NetworkLink>
<name>link</name>
<Link>
<href>C:\link.kml</href>
</Link>
<refreshVisibility>1</refreshVisibility>
</NetworkLink>
<NetworkLinkControl>
<Update>
<targetHref>C:\link.kml</targetHref>
<Delete>
<Placemark targetId="mark1">
</Placemark>
</Delete>
<Create>
<Document targetId="Geo">
<Placemark id="mark2">
<Point>
<coordinates>-117.584,32.958,180</coordinates>
</Point>
</Placemark>
</Document>
</Create>
</Update>
</NetworkLinkControl>
</Document>
</kml>
link.kml
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="
http://earth.google.com/kml/2.0">
<Document targetId="Geo">
<Placemark id="mark1">
<name>1</name>
<description>
<!CDATA[
<hr />
Gelocation Information:
<br />
<blockquote>
Timestamp SOD: 81199<br />
32.841 N -117.252 E 190.000 m<br />
Ellipse: 1957.05 m 504.86 m 43.7686 degrees<br />
<a href="C:\Baton\MeasurementCurves1.kml">Click Here to Display Measurement Curves</a>
</blockquote>
<br />
<hr />
]]>
</description>
<LookAt>
<longitude>-117.252211</longitude>
<latitude>32.840517</latitude>
<range>302.5515149248119</range>
<tilt>1.228133016824098e-010</tilt>
<heading>0.02186675670669752</heading>
</LookAt>
<styleUrl>root://styleMaps#default+nicon=0x307+hicon=0x317</styleUrl>
<Style>
<IconStyle>
<color>ff0000ff</color>
<Icon>
<href>root://icons/high_res_places.png</href>
<y>64</y>
<w>32</w>
<h>32</h>
</Icon>
</IconStyle>
</Style>
<Point>
<coordinates>-117.252211,32.840517,190.000101</coordinates>
</Point>
</Placemark>
</Document>
</kml>