DSMLParser example

Michael Ströder michael at stroeder.com
Wed Dec 17 11:16:14 CET 2008

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.

More information about the python-ldap mailing list