LINQ-to-XML provides a SQL-like query experience for navigating, parsing, and aggregating data stored in XML documents.
This query seems to be valid, but I have 0 results. IEnumerable<XElement> users = (from el in XMLDoc.Elements("…
c# xml linq linq-to-xmlConsider the following XML: <response> <status_code>200</status_code> <status_txt>OK&…
.net xml xpath linq-to-xml xelementIs there a way to search an XDocument without knowing the namespace? I have a process that logs all SOAP …
c# linq-to-xmlI am trying to read a xml file from the web and parse it out using XDocument. It normally works …
encoding linq-to-xml windows-phoneSo let's assume this is what i want to achieve: <root> <name>AAAA</name> &…
c# xml linq-to-xml xelementHow do I get just the children of an XElement? I am currently using the XElement.Descendants() function, which returns …
c# xml linq-to-xml xelementI have the following XML which I am trying to query with XDocument: <E2ETraceEvent xmlns="http://schemas.microsoft.…
c# xml linq linq-to-xml xml-namespacesIs there any way to get the xml encoding in the toString() Function? Example: xml.Save("myfile.xml"); leads to &…
c# linq-to-xmlI have a Question class that has public List property that can contain several Answers. I have a question repository …
c# .net linq collections linq-to-xmlSituation I'm using XDocument to try and remove an xmlns="" attribute on the first inner node: <Root xmlns="http://…
c# .net xml linq-to-xml xml-namespaces