patch from Nic Ferrier to provide a better type mapping from XPath to * python/types.c: patch from Nic Ferrier to provide a better type mapping from XPath to python Daniel