next if $reader->nodeType != XML_READER_TYPE_ELEMENT;