Table of Contents
XML文件内容读取
Jun 20, 2016 pm 12:36 PM
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Identification> <tag> <resultreports code="" /> <kanban startdate="2016/01/29 08:46:48" date="2016/01/29" shiftindex="1" kanbanindex="1" snp="16" plannum="512" finalcountsnp="16" finalcountplannum="192" kanbandata="B02 GE500746 C 00000000 16 *" /> <works> <workid>15GE500746 C D16013100130</workid> <workid>15GE500746 C D16013100115</workid> <workid>15GE500746 C D16013100117</workid> <workid>15GE500746 C D16013100120</workid> <workid>15GE500746 C D16013100133</workid> <workid>15GE500746 C D16013100122</workid> <workid>15GE500746 C D16013100135</workid> <workid>15GE500746 C D16013100041</workid> <workid>15GE500746 C D16013100045</workid> <workid>15GE500746 C D16020100003</workid> <workid>15GE500746 C D16020100005</workid> <workid>15GE500746 C D16020100001</workid> <workid>15GE500746 C D16020100004</workid> <workid>15GE500746 C D16020100006</workid> <workid>15GE500746 C D16020100011</workid> <workid>15GE500746 C D16020100008</workid> </works> <forcingprint>False</forcingprint> <qrcode>B120010218160201GE500746 C 00000000 16 16201A7 16131A9 001 20160201140015 2 </qrcode> <issuekind /> <parentissueno /> <lots> <lot lotno="16131A"> <workid>15GE500746 C D16013100130</workid> <workid>15GE500746 C D16013100115</workid> <workid>15GE500746 C D16013100117</workid> <workid>15GE500746 C D16013100120</workid> <workid>15GE500746 C D16013100133</workid> <workid>15GE500746 C D16013100122</workid> <workid>15GE500746 C D16013100135</workid> <workid>15GE500746 C D16013100041</workid> <workid>15GE500746 C D16013100045</workid> </lot> <lot lotno="16201A"> <workid>15GE500746 C D16020100003</workid> <workid>15GE500746 C D16020100005</workid> <workid>15GE500746 C D16020100001</workid> <workid>15GE500746 C D16020100004</workid> <workid>15GE500746 C D16020100006</workid> <workid>15GE500746 C D16020100011</workid> <workid>15GE500746 C D16020100008</workid> </lot> </lots> </tag></Identification>
Copy after login
要读取lots里面那段的内容,得到如下结果:
1613A
15GE500746 C D16013100130
...(中间省略)
15GE500746 C D16013100045
16201A
15GE500746 C D16020100003
...(中间省略)
15GE500746 C D16020100008
回复讨论(解决方案)
可以加一个XML解析的插件
自己解决了。
Statement of this 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

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

11 Best PHP URL Shortener Scripts (Free and Premium)

Working with Flash Session Data in Laravel

Build a React App With a Laravel Back End: Part 2, React

Simplified HTTP Response Mocking in Laravel Tests

cURL in PHP: How to Use the PHP cURL Extension in REST APIs

12 Best PHP Chat Scripts on CodeCanyon
