how to remove Xml version string from String

后端 未结 5 1988
情书的邮戳
情书的邮戳 2021-02-05 12:11

I have read Xml File using code given below-

  String XmlString = \"\";
  String resourcePath=FilePathHelper.getResourceFilePath(request);



        BufferedRea         


        
5条回答
  •  不思量自难忘°
    2021-02-05 12:59

    substring with first index of '>' + 1 ( +1 to get to next char), wont it give you end of xml version? Though it is not clean way of doing this.

提交回复
热议问题