public function processNode($xmlString, $elementName, $nodeIndex)
{
$xml_items = \simplexml_load_string($xmlString);
$skip = false;
$content = array();
$xmls = array();
$xmls[] = $xml_items;
foreach ($xmls as $xml) {
$encoded = json_encode($xml);
$a = json_decode($encoded, true);
if (is_array($a)) {
if (isset($a['item']) and is_array($a['item'])) {
$a_item = $a['item'];
foreach ($a_item as $a_ite) {
$this->content_items[] = $a_ite;
}
} else {
$this->content_items[] = $a;
}
}
}
return true;
}