public function toArray()
{
$result = array();
foreach ($this->_node->attributes as $attribute) {
if ($this->isDataProperty($attribute->name)) {
$result[$this->decodeName($attribute->name)] = $this->decodeValue($attribute->value);
}
}
return $result;
}