LINQ to XML: XPathSelectElement Annoyance
It may be me ā since Iām no XPath (or XSLT) pro, but the following is in my book a bug ā or at least an annoyance category 3:
Given the following XML document loaded into an XDocument:
<?xml version="1.0" encoding="utf-8"?>
<Elements>
<Element Id="1" />
<Element Id="2" />
<Element Id="3" />
<Element Id="4" />
[...]