I am trying to "merge" several XML files based on some XPath criteria. It seems to work but when I run my script in the ISE I get output that I would like to suppress. I have reason to believe that the output is coming from the following line:
$element.AppendChild($element.OwnerDocument.ImportNode($childNode, $true))
Where $element is an XmlElement as is $childNode. So either the function 'AppendChild' is returning an element that is being processed by the shell and hence shows some default output or 'ImportNode' is doing the same thing.
Suggestions?
Thank you.
Kevin
Kevin Burton