I don't know the answer but I'll reply anyway as you asked so nicely.
Probably the reason you didn't get an answer is that this is an XML forum and on the surface, your question doesn't seem to have anything to do with XML.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference