From: Daniel Veillard Date: Sat, 3 Feb 2001 20:51:46 +0000 (+0000) Subject: A bit of debug, regenerated the docs: X-Git-Tag: v1.1.28~1487 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2eaf99b1976f02a3fc90268e4abb262debe5c6f0;p=platform%2Fupstream%2Flibxslt.git A bit of debug, regenerated the docs: - TODO: updated - doc/html/*.html updated - doc/libxslt.sgml: added new modules - libxslt/pattern.c: fix loop on hash clashes. Daniel --- diff --git a/ChangeLog b/ChangeLog index 5523074..0924084 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sat Feb 3 21:49:36 CET 2001 Daniel Veillard + + * TODO: updated + * doc/html/*.html updated + * doc/libxslt.sgml: added new modules + * libxslt/pattern.c: fix loop on hash clashes. + Sat Feb 3 16:13:35 CET 2001 Daniel Veillard * FEATURES: updated diff --git a/TODO b/TODO index 555d86c..353526e 100644 --- a/TODO +++ b/TODO @@ -35,6 +35,7 @@ Templates: Pattern tester: -> try to optimize for ID scan and tests. + -> support for mode Pattern scanner: -> add error checks on all returns diff --git a/doc/html/book1.html b/doc/html/book1.html index 19001f7..e54e6e6 100644 --- a/doc/html/book1.html +++ b/doc/html/book1.html @@ -149,6 +149,26 @@ HREF="libxslt-xsltinternals.html" HREF="libxslt-xsltutils.html" >xsltutils —
attributes
imports
namespaces
variables
attributes
Gnome XSLT Library Reference Manual
<<< Previous PageHomeUpNext Page >>>

attributes

Name

attributes -- 

Synopsis


+
+void        xsltParseStylesheetAttributeSet (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);
+void        xsltAttribute                   (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNodePtr inst);
+void        xsltFreeAttributeSetsHashes     (xsltStylesheetPtr style);
+void        xsltApplyAttributeSet           (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNodePtr inst,
+                                             xmlChar *attributes);

Description

Details

xsltParseStylesheetAttributeSet ()

void        xsltParseStylesheetAttributeSet (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);

parse an XSLT stylesheet preserve-space element and record +elements needing preserving

style : the XSLT stylesheet
cur :


xsltAttribute ()

void        xsltAttribute                   (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNodePtr inst);

Process the xslt attribute node on the source node

ctxt : a XSLT process context
node : the node in the source tree.
inst : the xslt attribute node


xsltFreeAttributeSetsHashes ()

void        xsltFreeAttributeSetsHashes     (xsltStylesheetPtr style);

Free up the memory used by attribute sets

style : an XSLT stylesheet


xsltApplyAttributeSet ()

void        xsltApplyAttributeSet           (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNodePtr inst,
+                                             xmlChar *attributes);

Apply the xsl:use-attribute-sets

ctxt : the XSLT stylesheet
node : the node in the source tree.
inst : the xslt attribute node
attributes : the set list.



<<< Previous PageHomeUpNext Page >>>
xsltutilsimports
\ No newline at end of file diff --git a/doc/html/libxslt-imports.html b/doc/html/libxslt-imports.html new file mode 100644 index 0000000..7b0dd2c --- /dev/null +++ b/doc/html/libxslt-imports.html @@ -0,0 +1,810 @@ +imports
Gnome XSLT Library Reference Manual
<<< Previous PageHomeUpNext Page >>>

imports

Name

imports -- 

Synopsis


+
+void        xsltParseStylesheetImport       (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);
+void        xsltParseStylesheetInclude      (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);
+xsltStylesheetPtr xsltNextImport            (xsltStylesheetPtr style);
+int         xsltFindElemSpaceHandling       (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node);
+xsltTemplatePtr xsltFindTemplate            (xsltTransformContextPtr ctxt,
+                                             const xmlChar *name,
+                                             const xmlChar *nameURI);

Description

Details

xsltParseStylesheetImport ()

void        xsltParseStylesheetImport       (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);

parse an XSLT stylesheet strip-space element and record +elements needing stripping

style : the XSLT stylesheet
cur :


xsltParseStylesheetInclude ()

void        xsltParseStylesheetInclude      (xsltStylesheetPtr style,
+                                             xmlNodePtr cur);

parse an XSLT stylesheet strip-space element and record +elements needing stripping

style : the XSLT stylesheet
cur :


xsltNextImport ()

xsltStylesheetPtr xsltNextImport            (xsltStylesheetPtr style);

Find the next stylesheet in import precedence.

style : 
Returns :the next stylesheet or NULL if it was the last one


xsltFindElemSpaceHandling ()

int         xsltFindElemSpaceHandling       (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node);

Find strip-space or preserve-space informations for an element +respect the import precedence or the wildcards

ctxt : 
node : 
Returns :1 if space should be stripped, 0 if not, and 2 if everything +should be CDTATA wrapped.


xsltFindTemplate ()

xsltTemplatePtr xsltFindTemplate            (xsltTransformContextPtr ctxt,
+                                             const xmlChar *name,
+                                             const xmlChar *nameURI);

Finds the named template, apply import precedence rule.

ctxt : 
name : the template name
nameURI : the template name URI
Returns :the xsltTemplatePtr or NULL if not found



<<< Previous PageHomeUpNext Page >>>
attributesnamespaces
\ No newline at end of file diff --git a/doc/html/libxslt-lib.html b/doc/html/libxslt-lib.html index d683d60..ca49fd8 100644 --- a/doc/html/libxslt-lib.html +++ b/doc/html/libxslt-lib.html @@ -150,6 +150,26 @@ HREF="libxslt-xsltinternals.html" HREF="libxslt-xsltutils.html" >xsltutils —
attributes
imports
namespaces
variables

namespaces

Gnome XSLT Library Reference Manual
<<< Previous PageHomeUpNext Page >>>

namespaces

Name

namespaces -- 

Synopsis


+
+void        xsltNamespaceAlias              (xsltStylesheetPtr style,
+                                             xmlNodePtr node);
+xmlNsPtr    xsltGetNamespace                (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr cur,
+                                             xmlNsPtr ns,
+                                             xmlNodePtr out);
+xmlNsPtr    xsltGetSpecialNamespace         (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr cur,
+                                             const xmlChar *URI,
+                                             const xmlChar *prefix,
+                                             xmlNodePtr out);
+xmlNsPtr    xsltCopyNamespaceList           (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNsPtr cur);
+void        xsltFreeNamespaceAliasHashes    (xsltStylesheetPtr style);

Description

Details

xsltNamespaceAlias ()

void        xsltNamespaceAlias              (xsltStylesheetPtr style,
+                                             xmlNodePtr node);

Read the stylesheet-prefix and result-prefix attributes, register +them as well as the corresponding namespace.

style : the XSLT stylesheet
node : the xsl:namespace-alias node


xsltGetNamespace ()

xmlNsPtr    xsltGetNamespace                (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr cur,
+                                             xmlNsPtr ns,
+                                             xmlNodePtr out);

Find the right namespace value for this prefix, if needed create +and add a new namespace decalaration on the node +Handle namespace aliases

ctxt : a transformation context
cur : the input node
ns : the namespace
out : the output node (or its parent)
Returns :the namespace node to use or NULL


xsltGetSpecialNamespace ()

xmlNsPtr    xsltGetSpecialNamespace         (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr cur,
+                                             const xmlChar *URI,
+                                             const xmlChar *prefix,
+                                             xmlNodePtr out);

ctxt : 
cur : 
URI : 
prefix : 
out : 
Returns :


xsltCopyNamespaceList ()

xmlNsPtr    xsltCopyNamespaceList           (xsltTransformContextPtr ctxt,
+                                             xmlNodePtr node,
+                                             xmlNsPtr cur);

Do a copy of an namespace list. If node is non-NULL the +new namespaces are added automatically. This handles namespaces +aliases

ctxt : a transformation context
node : the target node
cur : the first namespace
Returns : a new xmlNsPtr, or NULL in case of error.


xsltFreeNamespaceAliasHashes ()

void        xsltFreeNamespaceAliasHashes    (xsltStylesheetPtr style);

Free up the memory used by namespaces aliases

style : an XSLT stylesheet



<<< Previous PageHomeUpNext Page >>>
importsvariables
\ No newline at end of file diff --git a/doc/html/libxslt-pattern.html b/doc/html/libxslt-pattern.html index 78a070f..ed265d2 100644 --- a/doc/html/libxslt-pattern.html +++ b/doc/html/libxslt-pattern.html @@ -147,9 +147,9 @@ CLASS="SYNOPSIS" int xsltAddTemplate (xsltStylesheetPtr (xsltStylesheetPtr style, xsltGetTemplate (xsltStylesheetPtr style, +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr ctxt, xmlNodePtrxsltFreeTemplateHashes (xsltStylesheetPtr style); -xsltTemplatePtr xsltFindTemplate (xsltStylesheetPtr style, - const xmlChar *name, - const xmlChar *nameURI); (xsltStylesheetPtr style);

Description

Details

int         xsltAddTemplate                 (xsltStylesheetPtrint         xsltAddTemplate                 (xsltStylesheetPtr style,
                                              

xsltTemplatePtr xsltGetTemplate (xsltStylesheetPtr style, +HREF="libxslt-xsltinternals.html#XSLTTRANSFORMCONTEXTPTR" +>xsltTransformContextPtr ctxt, xmlNodePtrstylectxt : an XSLT stylesheet a XSLT process context

void        xsltFreeTemplateHashes          (xsltStylesheetPtrvoid        xsltFreeTemplateHashes          (xsltStylesheetPtr style);


xsltFindTemplate ()

xsltTemplatePtr xsltFindTemplate            (xsltStylesheetPtr style,
-                                             const xmlChar *name,
-                                             const xmlChar *nameURI);

Finds the named template.

style : an XSLT stylesheet
name : the template name
nameURI : the template name URI
Returns :the xsltTemplatePtr or NULL if not found