From: Michael S. <mi...@st...> - 2008-12-17 10:16:23
|
Yves Dorfsman wrote: > Is there a simple example for dsml.DSMLParser() somewhere ? No, this module is rather unmaintained. IIRC it mainly works like module ldif: You should sub-class dsml.DSMLParser implementing a custom method .handle(). Note that it only supports DMSLv1 which is not what you want today. > I have tried: > x = dsml.DSMLParser(input_file, dsml.DSMLv1Handler) > > But eventually it fails with an HTTP 404 error... ??? Ciao, Michael. |