diff --git a/modules/tei2fo.xq b/modules/tei2fo.xq index 8110f14..d74281f 100644 --- a/modules/tei2fo.xq +++ b/modules/tei2fo.xq @@ -1423,7 +1423,7 @@ declare function t2f:graphic($node, $options) { else for $ext in ('svg', 'tiff', 'png') let $uri := concat('https://static.history.state.gov/', 'frus-history' (:'frus/', $filename :), '/', $url, '.', $ext) - let $response := htto:send-request()[1] + let $response := http:send-request()[1] return if ($response/@statusCode eq '200') then let $store := xmldb:store($images-collection, concat($url, '.', $ext), xs:anyURI($uri), concat('image/', if ($ext = 'svg') then 'svg+xml' else $ext))