Closed wafschneider closed 7 years ago
This is very easy to do using the exslt dates and times function library, and it works with libxslt and Metaproxy, but...it breaks when using SaxonHE (open source), so it would break the XSpec testing harness unless you're using a licensed SaxonPE or SaxonEE, or you build SaxonHE manually with the extensions from the saxon-resources package. That's probably too high a barrier for casual use.
I decided to use function-available()
to test for the date-time()
function, so the solution works for SaxonHE, as well. The update has been pulled to mprxyvls02 for testing, here is a sample URL:
http://mprxyvls02.loc.gov:210/LCDB?version=1.1&operation=searchRetrieve&query=rec.id%3D13600108&recordSchema=bibframe2-dev&startRecord=1&maximumRecords=1
@ntra00 requests: