mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-10 14:40:58 +03:00
change the Licence to MIT Licence and release of 1.0.11 updates of the
* Copyright Makefile.am configure.in libxslt.spec.in: change the Licence to MIT Licence and release of 1.0.11 * doc/FAQ.html doc/intro.html doc/libxslt-decl.txt doc/news.html doc/xslt.html: updates of the docs accordingly * libxslt/xsltwin32config.h: numbering * python/generator.py python/libxml_wrap.h python/libxsltclass.txt python/libxslt-python-api.xml: cleanup the dependancies with libxml2 * python/tests/extfunc.py: updated examples. Daniel
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
#!/usr/bin/python -u
|
||||
import sys
|
||||
import string
|
||||
import libxml2
|
||||
import libxslt
|
||||
|
||||
@ -22,7 +23,6 @@ def f(ctx, str):
|
||||
except:
|
||||
pass
|
||||
|
||||
import string
|
||||
return string.upper(str)
|
||||
|
||||
libxslt.registerExtModuleFunction("foo", "http://example.com/foo", f)
|
||||
@ -54,6 +54,7 @@ if root.content != "SUCCESS":
|
||||
sys.exit(1)
|
||||
if nodeName != 'article':
|
||||
print "The function callback failed to access its context"
|
||||
sys.exit(1)
|
||||
|
||||
result.freeDoc()
|
||||
|
||||
|
Reference in New Issue
Block a user