PyTREX is a Python implementation of TREX, an XML schema language. It should be considered beta quality from 0.7.x onwards.
PyTREX is now part of PyXML, at least in the CVS.