Skip to main content
100%

Simple example of retrieving a record in EAD (or Dublin Core) from the Archives Hub using SRU

✓ Published0🌍 Public
CCliffordAnderson
Last edited Jul 18, 2013
Created on Jul 18, 2013

This example demonstrates how to retrieve a single metadata record from the Archives Hub using the SRU (Search/Retrieval via URL) protocol, converting it into a specified format such as EAD or Dublin Core. It shows a live HTTP query to the Archives Hub API, where the user can adjust the search keyword and the desired metadata schema (e.g., "ead", "srw_dc", or "oai_dc"). The code uses XQuery 3.0 with the `http:send-request` function to fetch the XML response, then extracts the record data via the SRU namespace. The result is the raw metadata record, ready for display or further processing.

AI-generated description

Similar vizzes