SimpleXML get node value

后端 未结 3 622
清歌不尽
清歌不尽 2020-12-11 02:11

Say I have this following XML structure:


some value<
3条回答
  •  遥遥无期
    2020-12-11 03:00

    $xml = new SimpleXMLElement($xml);
    $this->xmlcode = (string) $xml->parent[0]->child1;
    

提交回复
热议问题