csl_style_xml | R Documentation |
Get XML for a CSL style
csl_style_xml(input, raw = FALSE, ...)
input |
(character) URL or local file path. Required. |
raw |
(logical) If |
... |
Curl options passed on to crul::HttpClient |
This function fetches the style XML document. If you want
parsed data, see csl_style_load()
.
an object of class xml_document
, see xml2
to parse the object
ajps <- 'http://zotero.org/styles/american-journal-of-political-science' if (crul::ok(ajps)) { csl_style_xml(ajps) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.