2/24/2023 0 Comments Notepad++ plugin manager xml tools![]() Each of the child directories had a single XML file in it. I had a folder structure where there were hundreds of directories inside this one parent directory. Using a configuration file for the tidy.exe (placed in the same directory as tidy.exe and named tidcfg.iniâalthough neither matters, see below) that looked like this:įor /d %%X in (C:\\*) do (c:\\tidy.exe -m -xml -config c:\\tidycfg.ini %%X\.xml)The solution I ended up with was just that.įirst of all, I found HTML Tidy which I could run from the Windows command line to format a file. I knew the real solution had to be some type of command-line utility and a batch file. I worked with it for a while, but could not figure out what the matter was. But, when I checked the files they had not been formatted. The macro would successfully run, saving and closing the file. However, after working with it for a while, I couldnât get the Notepad macro system to actual perform the XML Tools plugin format command. This would run through each file until all were formatted and closed. So, I could easily open the few hundred files I had to format in Notepad (one set at a time), then run the macro multiple times (Macro > Run a Macro Multiple Timesâ¦). I tried combining the pluginâs formatting commands with a macro that would format the XML file, save it and close it. I looked into using Notepad which has a great XML Tools plugin (look for it under Plugins > Plugin Manager). So, I started looking for a way to quickly format all the files in each set the same way with one program. Unfortunately, the sets of XML files were formatted differently and so doing a file comparison with Beyond Compare (a GREAT file comparison tool, by the way) was going to be useless. ![]() I recently had a situation where I needed to compare many XML files generated by a program of one version to the same set of XML files produced by a previous version of the same program. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |