Re: [xslt] XSLT 2.0



Andriy Gerasika <andriy gerasika gmail com> writes:

> a) support xpath2.0/xslt2.0 as a config option? (default no)

Something like

AC_ARG_ENABLE([xslt2],
  [AS_HELP_STRING([--enable-xslt2],
    [support some xpath/xslt 2.0 functions])],
  [AC_DEFINE([ENABLE_XSLT2], 1, [enable xpath/xslt 2.0 functions])],
  [AC_DEFINE([ENABLE_XSLT2], 0, [disable xpath/xslt 2.0 functions])])

in configure.in

Then you put the new functions inside
#if ENABLE_XSLT2
#endif

> b) how to support unicode in lower-case() function --> use icu/iconv?

Case with unicode is tricky, it comes up in xslt 1.0, and currently
libxslt doesn't solve it:
https://bugzilla.gnome.org/show_bug.cgi?id=310201


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]