Changeset 3857:7ee322077bdd in livinglogic.python.xist

Show
Ignore:
Timestamp:
09/10/09 13:12:57 (10 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Support xmlproc as a separate install (instead of as part of PyXML).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/scripts/dtd2xsc.py

    r3691 r3857  
    2727import sys, os.path, optparse 
    2828 
    29 from xml.parsers.xmlproc import dtdparser 
     29try: 
     30    from xml.parsers.xmlproc import dtdparser 
     31except ImportError: 
     32    from xmlproc import dtdparser 
    3033 
    3134from ll import url