Hi Simon,
Here is the original Xml file you've attached:
===========================
<Items>
<Item Type="MenuSystemPage">
<MenuSystemObject Name="Unnamed Page" />
<MenuSystemPage ID="1">
<MenuSystemPageItem RefID="2" X="0.5" Y="0.5" Width="0.5"
Height="0.5">
<Normal EaseInTime="1" TimesPerSecond="1" Scale1="1" Scale2="1"
ColorPulsate="0" SizePulsate="0" UVPulsate="0" PositionThrob="0"
UVThrob="0" ColourAnimate="0" PositionAnimate="0" UVAnimate="0">
<NormalColor1 Red="205" Green="205" Blue="205" Alpha="205" />
<NormalColor2 Red="205" Green="205" Blue="205" Alpha="205" />
</Normal>
<Focused EaseInTime="1" TimesPerSecond="1" Scale1="1" Scale2="1"
ColorPulsate="0" SizePulsate="0" UVPulsate="0" PositionThrob="0"
UVThrob="0" ColourAnimate="0" PositionAnimate="0" UVAnimate="0">
<FocusedColor1 Red="205" Green="205" Blue="205" Alpha="205" />
<FocusedColor2 Red="205" Green="205" Blue="205" Alpha="205" />
</Focused>
<Selected EaseInTime="1" TimesPerSecond="1" Scale1="1" Scale2="1"
ColorPulsate="0" SizePulsate="0" UVPulsate="0" PositionThrob="0"
UVThrob="0" ColourAnimate="0" PositionAnimate="0" UVAnimate="0">
<SelectedColor1 Red="205" Green="205" Blue="205" Alpha="205" />
<SelectedColor2 Red="205" Green="205" Blue="205" Alpha="205" />
</Selected>
</MenuSystemPageItem>
</MenuSystemPage>
</Item>
<Item Type="MenuSystemText">
<MenuSystemObject Name="Unnamed Item" />
<MenuSystemItem ID="2" />
<MenuSystemText LanguageFilename="" LanguageID="0"
LastLanguageText="HELLO WORLD" />
</Item>
</Item
==========================================
The end tag of the root element has been corrupt and after correct it, I
can load it correctly. I test via C# code. Can you correctly load the
XmlDocument via C# code? Or is there anything else cause the problem?
Please have a try and let me know if you have any futher finding. Thanks.
Regards,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx