My xml looks like this:
<nodes><skus><sku>abc</sku><sku>def123</sku></skus></nodes>
I want to get all the elements with the name 'sku'
I have a XDocument already loaded with the xml.
List<XElement> elements = doc.Elements.Where( ??? )
or would I just do:
doc.Elements("sku")
?
I don't want this to return an error if there are no elements.