The problem is: there is no root tag! XML files can only have one root tag! It will be ok to change the xml to the following, that is, add aDocumenttag, and put the two previous root tags SearchConstraints and StoPList under the Document tag, so that there is only one in the entire XML file root tag.
glucoseEthanolname number="0">10
Copy after login
The above is the detailed content of XML file must have root tag (error) code solution to share. For more information, please follow other related articles on the PHP Chinese website!
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn