Parsing a file with multiple xmls in it

前端 未结 4 1031
半阙折子戏
半阙折子戏 2021-01-15 11:43

Is there a way to parse a file which contains multiple xmls in it?

eg., if I have a file called stocks.xml and within the stocks.xml i have more than one xml content

4条回答
  •  伪装坚强ぢ
    2021-01-15 12:19

    You can't have multiple XML documents in one XML file. Split the documents - composed in whatever way - into single XML files and parse them one-by-one.

提交回复
热议问题