PassiveTeX is a library of TeX macros which can be used to process an XML document which results from an XSL transformation to formatting objects.