Re: XSLT 2.0

Noam Postavsky <[email protected]>
Newsgroups gmane.comp.gnome.lib.xslt
Message-ID <[email protected]>
Andriy Gerasika <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.