Closed MatkovIvan closed 8 years ago
Should work now. Please note that SimpleXMLElement
returns element names as keys, so some transformations may return unexpected results, for example, a call to toArray
will return just last elements of each name if multiple elements with the same name are present, because keys will collapse (toList
can be used in this case to avoid the problem).
When I tried call
Enumerable::from
onSimpleXMLElement
throwsBut class SimpleXMLElement implements Traversable.