Atom
Package: Markdown Preview Plus
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
declare option output:method 'json'; | |
map { "type": "FeatureCollection", | |
"features": array { | |
(let $doc := fetch:text("http://api.gbif.org/v1/occurrence/search?limit=300&offset=0scientificName=Quercus%20macrocarpa&decimalLatitude=35.81,36.45&decimalLongitude=-87.21,-86.27") => json:parse() | |
for $record in $doc//results/_ | |
let $lat := xs:decimal($record/decimalLatitude/text()) | |
let $long := xs:decimal($record/decimalLongitude/text()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
xquery version "3.1"; | |
let $word := "person" | |
let $request := | |
<http:request href="https://od-api.oxforddictionaries.com/api/v1/entries/en/{$word}" method="get"> | |
<http:header name="app_key" value="###"/> | |
<http:header name="app_id" value="###"/> | |
</http:request> | |
return http:send-request($request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<div type="book" n="John"> | |
<div type="chapter" n="20"> | |
<div type="verse" n="1"> | |
<p>Early on the first day of the week, while it was still dark, <persName>Mary Magdalene</persName> | |
came to the tomb and saw that the stone had been removed from the tomb.</p> | |
</div> | |
<div type="verse" n="2"> | |
<p> So she ran and went to Simon Peter and the other disciple, the one whom Jesus | |
loved, and said to them, “They have taken the Lord out of the tomb, and we do |
OlderNewer