into characters. my $url = $item->getElementsByTagName('DetailPageURL')->item(0); $output{official_url} = uri_unescape(EPrints::Utils::tree_to_utf8($url)); We can set the ISBN . Note that the ISBN is often the same as the ASIN . my $isbn = $attr->getElementsByTagName('ISBN')->item(0); if (defined $isbn) { $output{isbn} = EPrints::Utils::tree_to_utf8($isbn); } We can set the number of pages. my $pages = $attr->getElementsByTagName('NumberOfPages')->item(0); if