Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Suppress output?

$
0
0

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


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>