Ideally want to get rid of the global transformCtxt pointer. It is reset each time the extension is initialized and reset to NULL when that use of the module is completed. So it is "okay", but would be nice to remove it. We have removed the need for it in some via the function registration mechanism. So from within an R session, it is not necessary. And for stand-alone use, i.e. Sxsltproc, it is not really an issue.
--r=script/name/
See the code in Sxsltproc.c. Need to find a way to get the Transform context.
Also, need a way to get the name of the function being called.
Or some extra data that identifies the function.
See the functions.c code in libexslt in the libxslt distribution
and see if that relates to this notion.
Yep, we can get the function name. Now done.
Could use xmlHashTablePtr rather than a linked list.