Pittsburgh-NEH-Institute / hoaXed

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Code: 10-user-defined-functions

gabikeane opened this issue · comments

branch code/commits are identical to stage 09

Introduce and explain user-defined functions with functions.xqm

Write, test, and integrate the hoax:round-geo() function

notes on file choices and conventions

  • What are the differences among .xq, .xql, .xquery, and .xqm?

  • Should we change our file naming conventions? (possibly yes)
    REF: Pg 123 in XQuery for Humanists, use xq for main modules, xqm for library modules
    REF: Eric and adam: roman num 13, use xq for main modules, xqm for library modules
    REF: Priscilla: pg 206, gives example of library that uses .xqm, but no discussion of file names
    REF: TEI Publisher: uses .xql for most things that aren’t explicitly function libraries

  • Why did we start using .xql? I originally used Punch code to model conventions, let's keep using .xql (this has gone on too long)