From 3ea65e43f4d51e4572aadaffe4c09e0b5ed89efb Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Thu, 15 Feb 2001 16:43:15 +0000 Subject: [PATCH] one bug fix, preparing 0.2.0 release: - libxlst/functions.c: fixed ID generation - doc/xslt.html doc/html/*.html: updated/regenerated the doc Daniel --- ChangeLog | 5 + configure.in | 8 +- doc/html/libxslt-attributes.html | 40 +-- doc/html/libxslt-imports.html | 258 +++++++++++++-- doc/html/libxslt-keys.html | 103 +++--- doc/html/libxslt-namespaces.html | 42 +-- doc/html/libxslt-numbersinternals.html | 12 +- doc/html/libxslt-pattern.html | 572 +++++++++++++++++++++++++++++++-- doc/html/libxslt-templates.html | 24 +- doc/html/libxslt-transform.html | 49 ++- doc/html/libxslt-variables.html | 56 ++-- doc/html/libxslt-xsltinternals.html | 212 ++++++++---- doc/html/libxslt-xsltutils.html | 533 +++++++++++++++++++++++++++--- doc/xslt.html | 40 +++ libxslt.spec.in | 4 +- libxslt/functions.c | 2 +- 16 files changed, 1642 insertions(+), 318 deletions(-) diff --git a/ChangeLog b/ChangeLog index f2d4832..3478012 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 15 17:40:28 CET 2001 Daniel Veillard + + * libxlst/functions.c: fixed ID generation + * doc/xslt.html doc/html/*.html: updated/regenerated the doc + Thu Feb 15 13:34:42 CET 2001 Daniel Veillard * libxslt/numbers.c: removed a couple of memleaks diff --git a/configure.in b/configure.in index 21abad4..3fd7f6d 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ AC_INIT(libxslt/xslt.c) -VERSION=0.1.0 +VERSION=0.2.0 PACKAGE=libxslt AM_CONFIG_HEADER(config.h) @@ -95,7 +95,7 @@ dnl dnl find libxml dnl XML_CONFIG="xml2-config" -AC_MSG_CHECKING(for libxml libraries >= 2.3.0) +AC_MSG_CHECKING(for libxml libraries >= 2.3.1) if test "x$LIBXML_PREFIX" != "x" then if ${LIBXML_PREFIX}/bin/xml2-config --libs print > /dev/null 2>&1 @@ -112,13 +112,13 @@ dnl if test "x$XML_CONFIG" != "x" then vers=`$XML_CONFIG --version | sed -e 's/libxml //' | awk 'BEGIN { FS = "."; } { printf "%d", ($1 * 1000 + $2) * 1000 + $3;}'` - if test "$vers" -ge 2003000 + if test "$vers" -ge 2003001 then LIBXML_LIBS="`$XML_CONFIG --libs`" LIBXML_CFLAGS="`$XML_CONFIG --cflags`" AC_MSG_RESULT(found) else - AC_MSG_ERROR(You need at least libxml 2.3.0 for this version of libxml) + AC_MSG_ERROR(You need at least libxml 2.3.1 for this version of libxslt) fi else AC_MSG_ERROR(Could not find libxml2 anywhere.) diff --git a/doc/html/libxslt-attributes.html b/doc/html/libxslt-attributes.html index d0e49ab..e6949e2 100644 --- a/doc/html/libxslt-attributes.html +++ b/doc/html/libxslt-attributes.html @@ -121,7 +121,7 @@ NAME="LIBXSLT-ATTRIBUTES" >

Name

Synopsis

xsltParseStylesheetAttributeSet (xsltStylesheetPtr (xsltStylesheetPtr style, xsltFreeAttributeSetsHashes (xsltStylesheetPtr (xsltStylesheetPtr style); void

Description

Details

void        xsltParseStylesheetAttributeSet (xsltStylesheetPtrvoid        xsltParseStylesheetAttributeSet (xsltStylesheetPtr style,
                                              


void        xsltFreeAttributeSetsHashes     (xsltStylesheetPtrvoid        xsltFreeAttributeSetsHashes     (xsltStylesheetPtr style);

Name

Synopsis

+#define XSLT_GET_IMPORT_PTR (res, style, name) +#define XSLT_GET_IMPORT_INT (res, style, name) void xsltParseStylesheetImport (xsltStylesheetPtr (xsltStylesheetPtr style, xsltParseStylesheetInclude (xsltStylesheetPtr (xsltStylesheetPtr style, xmlNodePtr cur); -xsltStylesheetPtrxsltStylesheetPtr xsltNextImport (xsltStylesheetPtr (xsltStylesheetPtr style); int

Description

Details

XSLT_GET_IMPORT_PTR()

#define     XSLT_GET_IMPORT_PTR(res, style, name)

res : 
style : 
name :


XSLT_GET_IMPORT_INT()

#define     XSLT_GET_IMPORT_INT(res, style, name)

res : 
style : 
name :


void        xsltParseStylesheetImport       (xsltStylesheetPtrvoid        xsltParseStylesheetImport       (xsltStylesheetPtr style,
                                              

void        xsltParseStylesheetInclude      (xsltStylesheetPtrvoid        xsltParseStylesheetInclude      (xsltStylesheetPtr style,
                                              

xsltStylesheetPtr xsltNextImport            (xsltStylesheetPtrxsltStylesheetPtr xsltNextImport            (xsltStylesheetPtr style);


Name

Synopsis

xsltAddKey (xsltStylesheetPtr (xsltStylesheetPtr style, const (xsltTransformContextPtr ctxt); +> ctxt, + xsltDocumentPtr doc); void xsltFreeKeys (xsltStylesheetPtr (xsltStylesheetPtr style); void xsltFreeCtxtKeys (xsltTransformContextPtr ctxt);

xsltFreeDocumentKeys (xsltDocumentPtr doc);

an XSLT transformation context an XSLT transformation contextdoc : an XSLT document


void        xsltFreeKeys                    (xsltStylesheetPtrvoid        xsltFreeKeys                    (xsltStylesheetPtr style);

xsltFreeCtxtKeys ()

xsltFreeDocumentKeys ()

void        xsltFreeCtxtKeys                (xsltTransformContextPtr ctxt);
void xsltFreeDocumentKeys (xsltDocumentPtr doc);

Free up all the space used by the key tables

ctxtdoc : an XSLT transformation context

Name

Synopsis

xsltNamespaceAlias (xsltStylesheetPtr (xsltStylesheetPtr style, xsltFreeNamespaceAliasHashes (xsltStylesheetPtr (xsltStylesheetPtr style);

Description

Details

void        xsltNamespaceAlias              (xsltStylesheetPtrvoid        xsltNamespaceAlias              (xsltStylesheetPtr style,
                                              
(xsltStylesheetPtr style); +int xsltMatchPattern (xsltTransformContextPtr ctxt, + xmlNodePtr node, + const xmlChar *pattern);

Description

Details

struct xsltCompMatch

struct xsltCompMatch;


xsltCompMatchPtr

typedef xsltCompMatch *xsltCompMatchPtr;


xsltCompilePattern ()

xsltCompMatchPtr xsltCompilePattern         (const xmlChar *pattern);

Compile the XSLT pattern and generates a list of precompiled form suitable +for fast matching.

[1] Pattern ::= LocationPathPattern | Pattern '|' LocationPathPattern

pattern : 
Returns :the generated pattern list or NULL in case of failure


xsltFreeCompMatchList ()

void        xsltFreeCompMatchList           (xsltCompMatchPtr comp);

Free up the memory allocated by all the elements of comp

comp : an XSLT comp list


xsltTestCompMatchList ()

int         xsltTestCompMatchList           (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xsltCompMatchPtr comp);

Test wether the node matches one of the patterns in the list

ctxt : a XSLT process context
node : a node
comp : the precompiled pattern list
Returns :1 if it matches, 0 if it doesn't and -1 in case of failure


int         xsltAddTemplate                 (xsltStylesheetPtrint         xsltAddTemplate                 (xsltStylesheetPtr style,
                                              
node, + xsltStylesheetPtr style);

Finds the template applying to this node

Finds the template applying to this node, if style is non-NULL +it means one need to look for the next imported template in scope.


xsltMatchPattern ()

int         xsltMatchPattern                (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             const xmlChar *pattern);

Determine if a node matches a pattern.

ctxt : 
node : a node in the source tree
pattern : an XSLT pattern
Returns :