Было:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<tag att="something" onemore="123">value<tag>
<tag>empty</tag>
<root>
Стало:
XmlData Object
(
[version:private] => 1.0
[encoding:private] => UTF-8
[data:private] => XmlElement Object
(
[name:private] => root
[value:private] =>
[attributes:private] => Array
(
)
[children:private] => Array
(
[0] => XmlElement Object
(
[name:private] => tag
[value:private] => value
[attributes:private] => Array
(
[att] => something
[onemore] => 123
)
[children:private] => Array
(
)
)
[1] => XmlElement Object
(
[name:private] => tag
[value:private] => empty
[attributes:private] => Array
(
)
[children:private] => Array
(
)
)
)
)
)
Радиоволна,
← Вернуться к журналу «Радиоволна»
Комментарии