Posts tagged with "calendars"

    The difficulty of establishing publication dates for books from late Ottoman Bilād al-Shām

    Original post (2015-07-23)

    I am currently preparing my thesis for publication and the process of revision, I am again turning to Ottoman legal texts and their translations. Today I want to come briefly back to a question I have extensively dealt with in my thesis: The difficulty of dating printed sources from the late Ottoman Bilād al-Shām. Consider the following image of the imprint for the second volume of Nawfal Niʿmat Allah Nawfal’s translation of Ottoman laws edited by Khalīl Khūrī and published by al-Maṭbaʿa al-Adabiyya in Beirut1.

    1. Nawfal, Nawfal Efendi Niʿmat Allāh. Al-dustūr: Tarjamahu min al-lughat al-turkiyya ilā al-ʿarabiyya Nawfal Niʿmat Allāh Nawfal bāshkātib kamāruk ʿArabistān sābiqan; bi-murājaʿa wa tadqīq Khalīl al-Khūrī mudīr maṭbūʿāt Wilāyat Sūriyya. Edited by Khalīl Efendi al-Khūrī. Vol.2. Bayrūt: al-Maṭbaʿa al-adabiyya, 1301. 

    continue reading ...

    New XSLT stylesheets for calendar conversion on Github

    A couple of months ago a posted a short note on my XSLT stylesheets to convert the various calendars at use in the late Ottoman empire at will. Now, I have improved the functions and added the Ottoman fiscal calendar (mālī, sene-yi māliye) to the brew and uploaded everything under a CC BY-SA 3.0 license to GitHub. Feel free to fork and tinker with the code. Enjoy!

    continue reading ...

    XSLT functions for converting calendars

    Recently I came across the necessity of converting Islamic hijrī dates to Gregorian dates in order to automatically harvest data from the Baṣbakanlik Osmanli Arṣivi’s catalogue into my research database. Unfortunately the database I use (the reference manager Sente) is proprietary software that can only deal with Gregorian dates. Thus, I needed to translate a certain string through XSLT in order to produce the correct XML for import into the database. I soon discovered that even though, formally the specifications for the format-date() function in XPath 2.0 include the hijrī calendar (labelled “Islamic”) and even Arabic month names, this specification was never actually implemented. As I could not find any available code on the net, I adopted the javascript conversion between Gregorian, Julian, and Hijri calendars provided by John Walker’s Calendar Converter for XSLT 2.0 and decided to share the functions on GitHub for reuse.

    continue reading ...