The result is returned as a string of plain text, however it includes HTML formatting, so could be inserted directly into an HTML application. For example:
<p class="citation_style_TURABIAN">McPherson, James M. <i>Battle Cry of Freedom: The Civil War Era</i>. New York: Oxford University Press, 1988. </p>
which results in a formatted citation such as:
McPherson, James M. Battle Cry of Freedom: The Civil War Era. New York: Oxford University Press, 1988.
If 'all' is specified as the cformat, all available citation formats will be returned in a single string.
The CSS class included in the HTML "p" tag is intended to reference a stylesheet definition elsewhere in the HTML. Below are CSS definitions for the class references returned by the API.
<style type="text/css">
.citation_style_APA {
font-family: "Arial Unicode MS", Arial, Helvetica, Verdana, sans-serif;
line-height: 1.3em;
list-style-type: none;
text-indent: -40px;
margin-left: 40px;
}
.citation_style_APA a {
text-decoration: none;
}
.citation_style_APA a:hover {
text-decoration: underline;
}
.citation_style_CHICAGO {
font-family: "Arial Unicode MS", Arial, Helvetica, Verdana, sans-serif;
line-height: 1.3em;
list-style-type: none;
text-indent: -40px;
margin-left: 40px;
}
.citation_style_CHICAGO a {
text-decoration: none;
}
.citation_style_CHICAGO a:hover {
text-decoration: underline;
}
.citation_style_HARVARD {
font-family: "Arial Unicode MS", Arial, Helvetica, Verdana, sans-serif;
line-height: 1.3em;
list-style-type: none;
text-indent: -40px;
margin-left: 40px;
}
.citation_style_HARVARD a {
text-decoration: none;
}
.citation_style_HARVARD a:hover {
text-decoration: underline;
}
.citation_style_MLA {
font-family: "Arial Unicode MS", Arial, Helvetica, Verdana, sans-serif;
line-height: 1.3em;
list-style-type: none;
text-indent: -40px;
margin-left: 40px;
}
.citation_style_MLA a {
text-decoration: underline;
}
.citation_style_MLA a:hover {
text-decoration: underline;
}
.citation_style_TURABIAN {
font-family: "Arial Unicode MS", Arial, Helvetica, Verdana, sans-serif;
line-height: 1.3em;
list-style-type: none;
text-indent: -40px;
margin-left: 40px;
}
.citation_style_TURABIAN a {
text-decoration: none;
}
.citation_style_TURABIAN a:hover {
text-decoration: underline;
}
</style>
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: