DOS Batch : dealing with double quotes from XML files
问题 I have written the code below to read XML files (file_1.xml and file_2.xml) and to extract the string between tags and to write it down into a TXT file. The issue is that some strings include double quotation marks and the program then takes these characters as being proper instructions (not part of the strings)... Content of file_1.xml : <AAA>C086002-T1111</AAA> <AAA>C086002-T1222 </AAA> <AAA>C086002-TR333 "</AAA> <AAA>C086002-T5444 </AAA> Content of file_2.xml : <AAA>C086002-T5555 </AAA>