Make PREFIXES an atom
*use register-namespaces function to register namespaces (duh)
Throw exception if prefix cannot be resolved