#6: XSLT conversion is now working.
#6, #3: Added docstrings to all functions.