reading the xpath contained in xml using powershell


hi,

my xml contains

<xpath>configuration/appsettings/add[@key='abc'][@value]</xpath>

<value>124</value>

i want fetch value corresposnding xpath "add[@key='abc']" xml using powershell

that not xml.  piece of edit command reying setting app.config file?

$node=$xml.selectsinglenode("//configuration/appsettings/add[@key='abc']")


\_(ツ)_/



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

RDS 2012 r2 collections show black screen and then close