Top "Selectsinglenode" questions

Selects the first Xml Node that matches the XPath expression

SelectSingleNode returns null when tag contains xmlNamespace

I'm loading a string into an XML document that contains the following structure: <?xml version="1.0" encoding="utf-8"?> <…

c# xml xmldocument selectsinglenode selectnodes
Using XPath in SelectSingleNode: Retrieving individual element from XML if it's present

My XML looks like : <?xml version=\"1.0\"?> <itemSet> <Item>one</Item> <Item&…

c# xpath selectsinglenode
Why is XmlNamespaceManager necessary?

I've come up kinda dry as to why -- at least in the .Net Framework -- it is necessary to …

.net xpath xml-namespaces selectsinglenode
.SelectSingleNode in Powershell script using xPath not working on extracting values from web.config file

Okay, so here is the snippet of my web.config file: <?xml version="1.0" encoding="utf-8"?> <configuration xmlns="…

powershell xpath web-config selectsinglenode
Using SelectSingleNode with XPath returns NULL

I trying to modify an XML file with SelectSingleNode. The structure of file is <?xml version="1.0" encoding="utf-8"?> &…

c# xml xpath selectsinglenode
Select Single Node with a attribute name in vbscript

Have an xml file <DataSource> <localdata> <add context="Localization"> <parameter name="timeout" type="…

xml vbscript selectsinglenode
selectSingleNode works but not selectNodes

Javascript: var req=xmlDoc.responseXML.selectSingleNode("//title"); alert(req.text); as expected, returns the text of the first "title" node. …

javascript internet-explorer xmlhttprequest selectsinglenode selectnodes
xpath query for finding an element with a condition which matches the attribute and child node value

I have 2 elements with same attribute but with different child node values. Can I query to find a specific element …

xml xpath selectsinglenode
SelectNodes with XPath ignoring cases in node names

I have a problem similar to the question SelectNodes with XPath ignoring cases but in my case the uppercase/lowercase …

c# xml xpath case-insensitive selectsinglenode
Select XML nodes from a namespace using Powershell

I have the following xml: <?xml version="1.0" encoding="utf-8"?> <userSettings> <setting name="TelephonyServerHost"> <…

xml powershell namespaces selectsinglenode