作者:我喜欢吕继宏 | 来源:互联网 | 2023-05-17 20:52
Idontknowmuchaboutbatchcodingorvbscript.Anyway,whatIhavetoaskrightnowishowtorea
I don't know much about batch coding or Vbscript. Anyway, what I have to ask right now is how to read specific data in an xml file using batch script or Vbscript? The script would like to read empty tags or self terminate tags in xml. If the script found empty tags, it should output an error in a log file.
我对批量编码或Vbscript了解不多。无论如何,我现在要问的是如何使用批处理脚本或Vbscript读取xml文件中的特定数据?该脚本希望在xml中读取空标签或自终止标签。如果脚本找到空标记,则应在日志文件中输出错误。
I have my XML here:
我在这里有我的XML:
John
Doe
Pork
Plate
Assuming, name tag is an error.
假设,name标签是一个错误。
1 个解决方案