0

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="Location" ss:Protected="1">

I'm facing problem reading the Attribute value "ss:Name".

Community
  • 1
  • 1
user394702
  • 3
  • 1
  • 2

1 Answers1

0

You should use provided support of namespaces in LINQ to XML. Look for XNamespace class.

DixonD
  • 6,557
  • 5
  • 31
  • 52