This file contains 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 namespace marc = "http://www.loc.gov/MARC21/slim"; | |
let $individual := <ignore-me><marc:controlfield tag="008">141001s2012 gaua 000 p eng d</marc:controlfield></ignore-me> | |
let $header := $individual/marc:controlfield[@tag='008']/text() | |
let $publoc := fn:substring($header,16,3) | |
where $publoc = ("gau", "other", "codes") | |
return $publoc |
This file contains 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"; | |
import module namespace corpus = "http://library.vanderbilt.edu/baudelaire" at "corpus.xqm"; | |
corpus:search("chat") |
This file contains 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 namespace marc="http://www.loc.gov/MARC21/slim"; | |
let $csv := element csv { | |
let $records := fn:doc("https://raw.githubusercontent.com/sterkenburgsara/MARCXML-projects/master/Artists'%20Books/artistsbk.xml")//marc:collection/marc:record | |
for $record in $records | |
let $leader := $record/marc:leader/text() | |
let $title := | |
($record//marc:datafield[@tag='245']//text() | |
except $record//marc:subfield[@code="c"]/text()) |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<mods xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-5.xsd"> | |
<titleInfo> | |
<title/> | |
</titleInfo> | |
<name type="personal"/> | |
<typeOfResource>text</typeOfResource> | |
<language> | |
<languageTerm/> |
This file contains 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
http://localhost:8080/exist/webdav/db/ |
This file contains 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
<!-- Enter your Twilio username and password --> | |
<auth xmlns="http://twilio/auth"> | |
<userName>##################</userName> | |
<password>##################</password> | |
<phoneNumber>##########</phoneNumber> | |
</auth> |
This file contains 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
<ids xmlns="http://twilio/contacts"> | |
<phone number="+1##########" option="1"> | |
<name>####</name> | |
</phone> | |
<phone number="+1##########" option="2"> | |
<name>####</name> | |
</phone> | |
<phone number="+1##########" option="3"> | |
<name>####</name> | |
</phone> |
This file contains 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.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
let $tei := fn:doc("db/test/tei.xml") | |
let $title := $tei/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:title/text() | |
let $author := $tei/tei:TEI/tei:teiHeader/tei:fileDesc/tei:titleStmt/tei:author/text() | |
return ($author, $title) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
declare namespace mods = "http://www.loc.gov/mods/v3"; | |
declare function local:gather-information($tei as document-node()) as xs:string* { | |
let $fileDesc := $tei/tei:TEI/tei:teiHeader/tei:fileDesc | |
let $title := $fileDesc/tei:titleStmt/tei:title/text() | |
let $name := $fileDesc/tei:titleStmt/tei:author/text() | |
let $language := $fileDesc/tei:sourceDesc/tei:p/string(@xml:lang) | |
let $place := $fileDesc/tei:publicationStmt/tei:pubPlace/text() |
OlderNewer