XSLTools

Change of XSLForms/Output.py

539:5114533f878a
XSLForms/Output.py
     1.1 --- a/XSLForms/Output.py	Tue Nov 28 22:30:23 2006 +0000
     1.2 +++ b/XSLForms/Output.py	Tue Nov 28 22:30:35 2006 +0000
     1.3 @@ -21,7 +21,15 @@
     1.4  """
     1.5  
     1.6  import Constants
     1.7 -import libxsltmod, libxml2mod
     1.8 +
     1.9 +# Try the conventional import first.
    1.10 +
    1.11 +try:
    1.12 +    import libxsltmod, libxml2mod
    1.13 +except ImportError:
    1.14 +    from libxmlmods import libxml2mod
    1.15 +    from libxmlmods import libxsltmod
    1.16 +
    1.17  import libxml2dom
    1.18  import urllib
    1.19