Hi Simon,
Here is the original Xml file you've attached:
=============== ============
<Items>
<Item Type="MenuSyste mPage">
<MenuSystemObje ct Name="Unnamed Page" />
<MenuSystemPa ge ID="1">
<MenuSystemPage Item 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">
<FocusedColor 1 Red="205" Green="205" Blue="205" Alpha="205" />
<FocusedColor 2 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">
<SelectedColo r1 Red="205" Green="205" Blue="205" Alpha="205" />
<SelectedColo r2 Red="205" Green="205" Blue="205" Alpha="205" />
</Selected>
</MenuSystemPageI tem>
</MenuSystemPage>
</Item>
<Item Type="MenuSyste mText">
<MenuSystemObje ct Name="Unnamed Item" />
<MenuSystemIt em ID="2" />
<MenuSystemTe xt LanguageFilenam e="" LanguageID="0"
LastLanguageTex t="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