title: OpenXML Set and Retrieve Custom Attributes
body: <p>I am successfully appending a custom attribute to a row node using the following method:</p>
  
  <pre><code>targetRow.SetAttribute(new DocumentFormat.OpenXml.OpenXmlAttribute("Delete", null, "1"));
  </code></pre>
  
  <p>...but am unable to view the custom attribute using the following LINQ query:</p>
  
  <pre><code>Row target = sheetData.Elements&lt;Row&gt;().Where(r =&gt; r.ExtendedAttributes.ElementAt(0).Value=="1").First();
  </code></pre>
  
  <p>I've also tried using the 'GetAttribute' method in the above query, to no avail.</p>
  
  <p>How should I be doing this? Thanks.</p>