Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
XMLStarlet is downloadable from: http://xmlstar.sourceforge.net/
Make sure to place it in the script's folder or within the PATH of your PC...
;Winbatch Version: 2005C -- Script by Jay Alverson path = DirScript() FilesToProcess = FileItemize(StrCat(path, "Indicator*.xml")) editor = "notepad.exe" comspec = Environment("COMSPEC") outfile = StrCat(DirScript(), "Out.txt") For x = 1 To ItemCount(FilesToProcess, @TAB) ThisXML = ItemExtract(x, FilesToProcess, @TAB) RunHideWait(comspec, `/c xml sel -T -t -m "//CompleteIndicator" -v "." "%ThisXML%" > "%outfile%"`) Indicator = FileGet(outfile) Message(ThisXML, Indicator) Next Exit
Article ID: W17344
File Created: 2007:07:03:14:29:32
Last Updated: 2007:07:03:14:29:32