Fields
nameAuthorities Fields
Match Record Fields
Example
<nameAuthorities query="levan, ralph" maxList="10" hitCount="75">
<match type="ExactNameParts" usage="8" score="2000">
<establishedForm>LeVan, Ralph R.</establishedForm>
<uri>/identities/np-levan, ralph r</uri>
<key>np-levan, ralph r</key>
<citation>An architecture for scholarly publishing on the World Wide Web</citation>
<pubDates>1994-2005</pubDates>
<nameType>personal</nameType>
</match>
...
</nameAuthorities>
SRU search results are made up of Identity records wrapped in an SRU response format.
Truncated example
<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="/identities/NameFinderResponse.xsl"?>
<searchRetrieveResponse xmlns="http://www.loc.gov/zing/srw/">
<version>1.1</version>
<numberOfRecords>5</numberOfRecords>
<resultSetId>ukx6n5</resultSetId>
<resultSetIdleTime>300</resultSetIdleTime>
<records xmlns:ns1="http://www.loc.gov/zing/srw/">
<record>
<recordSchema>info:srw/schema/1/Identities</recordSchema>
<recordPacking>xml</recordPacking>
<recordData>
<Identity type="personal" xmlns="">
...
</Identity>
</recordData>
<recordPosition>1</recordPosition>
</record>
...
</records>
<echoedSearchRetrieveRequest xmlns:ns2="http://www.loc.gov/zing/srw/">
<version>1.1</version>
<query>local.FamilyName = "Coombs" and local.FirstName =
"Karen"</query>
<xQuery>
<ns3:triple xmlns:ns3="http://www.loc.gov/zing/cql/xcql/">
<ns3:boolean>
<ns3:value>and</ns3:value>
</ns3:boolean>
<ns3:leftOperand>
<ns3:searchClause>
<ns3:index>local.FamilyName</ns3:index>
<ns3:relation>
<ns3:value>=</ns3:value>
</ns3:relation>
<ns3:term>Coombs</ns3:term>
</ns3:searchClause>
</ns3:leftOperand>
<ns3:rightOperand>
<ns3:searchClause>
<ns3:index>local.FirstName</ns3:index>
<ns3:relation>
<ns3:value>=</ns3:value>
</ns3:relation>
<ns3:term>Karen</ns3:term>
</ns3:searchClause>
</ns3:rightOperand>
</ns3:triple>
</xQuery>
<startRecord>1</startRecord>
<maximumRecords>10</maximumRecords>
<recordPacking>xml</recordPacking>
<recordSchema>info:srw/schema/1/Identities</recordSchema>
<resultSetTTL>300</resultSetTTL>
<sortKeys/>
</echoedSearchRetrieveRequest>
<extraResponseData xmlns:ns4="http://www.loc.gov/zing/srw/">
<ns5:extraData xmlns="http://oclc.org/srw/extraData"
xmlns:ns5="http://oclc.org/srw/extraData">
<ns5:databaseTitle>WorldCat Personal Identity Records</ns5:databaseTitle>
</ns5:extraData>
</extraResponseData>
</searchRetrieveResponse>
{
"query": "dempsey",
"result": [
{
"term": "Dempsey, Henry Maxwell, 1925-",
"arn": "oca00302863",
"lccn": "n79-70047"
},
{
"term": "Dempsey, Patrick, 1966-",
"arn": "oca03898989",
"lccn": "n95-81250"
},
{
"term": "Dempsey, Paul (Paul K.)",
"arn": "oca00289124",
"lccn": "n79-56017"
},
{
"term": "Dempsey, Hugh Aylmer, 1929-",
"arn": "oca00298216",
"lccn": "n79-65296"
},
{
"term": "Dempsey, Jack, 1895-1983",
"arn": "oca00297863",
"lccn": "n79-64938"
},
{
"term": "Dempsey, Michael W",
"arn": "oca00071454",
"lccn": "n50-36190"
},
{
"term": "Dempsey, Richard",
"arn": "oca04756696",
"lccn": "no98-93445"
},
{
"term": "Dempsey, Charles",
"arn": "oca00175479",
"lccn": "n78-39512"
},
{
"term": "Dempsey, Sean"
},
{
"term": "Dempsey, Paul Stephen",
"arn": "oca01341801",
"lccn": "n85-105883"
}
]
}
The OCLC Developer Network supports the use of OCLC Web Services—a set of tools and APIs that expose data and services for WorldCat and our member libraries and partner institutions or companies. learn more »
© 2010 OCLC Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates
Follow the OCLC Developer Network: