I have split up what is going to be a very large amount of XML data into multiple files for long term maintenance reasons. However, I need to combine all this information into a single XML object for use by my code. I tried the expediant of a foreach loop, reading each XML file into a temp variable and using
$global:ResourceXml += $TempResourceXml.InnerXml
However, this produces an XML object that no longer works, and I am trying to determine if I can't merge this way, or I need to access the merged data differently, or... At the memento I am not even sure exactly what is wrong, as I can't get a clean XML to the screen, and my code dumps into an endless loop now, erring on a SelectSingleNode attempt on the newly merged data. Gack.
Any thoughts greatly appreciated.
Gordon