XSLTools/XSLOutput.py | raw changeset files shortlog |
1.1 --- a/XSLTools/XSLOutput.py Tue Nov 28 22:30:23 2006 +0000 1.2 +++ b/XSLTools/XSLOutput.py Tue Nov 28 22:30:35 2006 +0000 1.3 @@ -22,7 +22,13 @@ 1.4 1.5 # NOTE: Make this use other XSLT implementations, too. 1.6 1.7 -import libxsltmod 1.8 +# Try the conventional import first. 1.9 + 1.10 +try: 1.11 + import libxsltmod 1.12 +except ImportError: 1.13 + from libxmlmods import libxsltmod 1.14 + 1.15 import libxml2dom 1.16 import os, tempfile 1.17