1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-06 23:49:25 +03:00

Continuous hacking ...

- TODO: guess what, it's growing :-(
- configure.in: setup hacking values when compiling in my
  own environment.
- libxslt/transform.c libxslt/xsltutils.[hc]: added a first
  very rudimentary version of xsl:sort
Daniel
This commit is contained in:
Daniel Veillard
2001-01-17 16:47:36 +00:00
parent 52862c8987
commit 72698cec5a
6 changed files with 229 additions and 5 deletions

View File

@@ -37,7 +37,8 @@ void xmlXPathBooleanFunction(xmlXPathParserContextPtr ctxt, int nargs);
__FILE__, __LINE__);
#define IS_XSLT_ELEM(n) \
((n)->ns != NULL) && (xmlStrEqual((n)->ns->href, XSLT_NAMESPACE))
(((n) != NULL) && ((n)->ns != NULL) && \
(xmlStrEqual((n)->ns->href, XSLT_NAMESPACE)))
#define IS_XSLT_NAME(n, val) \
(xmlStrEqual((n)->name, (const xmlChar *) (val)))
@@ -55,6 +56,15 @@ void xsltSetGenericErrorFunc (void *ctx,
xmlGenericErrorFunc handler);
void xsltSetGenericDebugFunc (void *ctx,
xmlGenericErrorFunc handler);
/*
* Sorting ... this is definitely a temporary interface !
*/
void xsltSortFunction (xmlNodeSetPtr list,
xmlXPathObjectPtr *results,
int descending,
int number);
#ifdef __cplusplus
}
#endif