PowerShell script to wrap a bunch of LogData elements (which, by themselves, taken as a collection, do not constitute a valid XML document) in a single LogEntries element, and then process the resulting document with Apache Xalan.
Note that, even though these files are named “NLog”, this XML has nothing to do with NLog. Our app just happens to use NLog to log a blob of custom XML the app itself creates.