Open
Description
Only attributes can be tokenized, it seems. So if you have something like ..
<MyProperty>myvalue (replace this)</MyProperty>
.. it won't tokenize. Line 80:
if ($node) {
try {
Write-Host "Updating $($key.Attribute) of $($key.KeyName): $($key.Value)"
$node.($key.Attribute) = $key.Value
}
catch {
Write-Error "Failure while updating $($key.Attribute) of $($key.KeyName): $($key.Value)"
}
}
It should test to see if Attribute was specified, and replace the node's InnerText instead if not.
Metadata
Metadata
Assignees
Labels
No labels