Fix incorrect XPath syntax
This commit is contained in:
parent
2530c5dc6b
commit
5e2c5bf5cd
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ $null = New-Module {
|
||||||
static $associationSelector = "/DefaultAssociations/Association";
|
static $associationSelector = "/DefaultAssociations/Association";
|
||||||
|
|
||||||
static [string] GetSelector([string] $identifier) {
|
static [string] GetSelector([string] $identifier) {
|
||||||
return "$([AppAssociations]::associationSelector)[Identifier='$identifier']";
|
return "$([AppAssociations]::associationSelector)[@Identifier='$identifier']";
|
||||||
}
|
}
|
||||||
|
|
||||||
static [xml] GetAppAssociations() {
|
static [xml] GetAppAssociations() {
|
||||||
|
|
Loading…
Reference in a new issue