Fix incorrect XPath syntax

This commit is contained in:
Manuel Thalmann 2023-07-26 13:01:45 +02:00
parent 2530c5dc6b
commit 5e2c5bf5cd

View file

@ -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() {