The ':' character, hexadecimal value 0x3A, cannot be included in a Attribute name [duplicate]
Possible Duplicate:
The ‘:’ character, hexadecimal value 0x3A, cannot be included in a name
I get that error when i use LinQ to XML .It's clear the error is due to reading XML and not linQ.
Xml used:
<Worksheet ss:Name="Loca开发者_如何学Pythontion" ss:Protected="1">
I'm facing problem reading the Attribute value "ss:Name".
You should use provided support of namespaces in LINQ to XML. Look for XNamespace class.
精彩评论