# $Id$ """Trivial wrapper around lxml.etree.RelaxNG.""" import lxml.etree class RelaxNG(lxml.etree.RelaxNG): """Minor customizations of lxml.etreeRelaxNG.""" def __init__(self, filename): """ Initialize a RelaxNG validator from a file. """ lxml.etree.RelaxNG.__init__(self, lxml.etree.parse(filename))