다른 프로그램에서 생성 된 파일에서 non-xml 태그를 제거해야합니다.XML 파일에서 헤더를 제거하는 간단한 방법
Executing Command - Blah.exe ...
-----Command Output-----
HTTP/1.1 200 OK
Connection: close
Content-Type: text/xml
<?xml version="1.0"?>
<testResults>
<finalCounts>
<right>7</right>
<wrong>4</wrong>
<ignores>0</ignores>
<exceptions>0</exceptions>
</finalCounts>
</testResults>
Exit-Code: 15
어떻게 자바에서 비 XML 텍스트를 쉽게 제거하는 방법 :
파일은 다음과 같은 몇 가지입니까?
'xmlIndex'에서 1을 더하거나 빼야 할 수도 있습니다. –
PHP에서 이것을 찾고 있었지만 여전히 도움이되었습니다. 잘 했어. – IamFace