I solved the Advent of Code 2017 Day 1 puzzle with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This post details my approach to solving both parts of Advent of Code 2017 Day 1 using a ‘circular list’, XQuery, and BaseX.
Continue readingInternational Phonetic Alphabet (IPA) Symbols Unicode Cheat Sheet

The International Phonetic Alphabet (IPA) is a set of symbols representing the sounds of natural languages. This cheat sheet lists IPA symbols along with their names, phonetic descriptions, and Unicode hexadecimal forms.
Continue readingMicrosoft Translator Text to Speech with XQuery and BaseX

The Microsoft Cognitive Services Translator Text application programming interface (API) enables text to speech with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial covers text to speech using the Microsoft Cognitive Services Translator Text API with XQuery and BaseX.
Continue readingRetrieve Microsoft Translator API Access Tokens with XQuery and BaseX

An access token is required to use the Microsoft Cognitive Services Translator application programming interface (API) with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial covers how to retrieve an access token from the Authentication Token API for Microsoft Cognitive Services Translator API with XQuery and BaseX.
Continue readingRetrieve Oxford Dictionaries API Translation Data as XML with XQuery and BaseX

We retrieved translation data from the Oxford Dictionaries application programming interface (API) and returned Extensible Markup Language (XML) with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial illustrates how to retrieve translation data—words and example sentences—as XML from the Oxford Dictionaries API with XQuery and BaseX.
Continue readingRetrieve Oxford Dictionaries API Dictionary Data as XML with XQuery and BaseX

We retrieved dictionary data from the Oxford Dictionaries application programming interface (API) and returned Extensible Markup Language (XML) with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial illustrates how to retrieve dictionary data—definitions, example sentences, and pronunciations—as XML from the Oxford Dictionaries API with XQuery and BaseX.
Continue readingRetrieve Oxford Dictionaries API Lemma Data as XML with XQuery and BaseX

We retrieved lemma data from the Oxford Dictionaries application programming interface (API) and returned Extensible Markup Language (XML) with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial illustrates how to retrieve lemma data—information related to items that can be looked up in the dictionary—as XML from the Oxford Dictionaries API with XQuery and BaseX.
Continue readingRetrieve Oxford Dictionaries API Thesaurus Data as XML with XQuery and BaseX

We retrieved thesaurus data from the Oxford Dictionaries application programming interface (API) and returned Extensible Markup Language (XML) with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial illustrates how to retrieve thesaurus data—synonyms and antonyms—as XML from the Oxford Dictionaries API with XQuery and BaseX.
Continue readingManipulate XML Text Data Using XQuery String Functions

My notes from the Vanderbilt University XQuery Working Group
We evaluated and manipulated text data (i.e., strings) within Extensible Markup Language (XML) using string functions in XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This tutorial covers the basics of how to use XQuery string functions and manipulate text data with BaseX.
Continue readingConvert TEI XML to HTML with XQuery and BaseX

My notes from the Vanderbilt University XQuery Working Group
We converted a document from the Text Encoding Initiative’s (TEI) Extensible Markup Language (XML) scheme to HTML with XQuery, an XML query language, and BaseX, an XML database engine and XQuery processor. This guide covers the basics of how to convert a document from TEI XML to HTML while retaining element attributes with XQuery and BaseX.
Continue reading