|
ReactOS 0.4.16-dev-2208-g6350669
|
#include "libxslt.h"#include <string.h>#include <libxml/xmlmemory.h>#include <libxml/tree.h>#include <libxml/hash.h>#include <libxml/xmlerror.h>#include <libxml/uri.h>#include <libxml/parserInternals.h>#include "xslt.h"#include "xsltInternals.h"#include "xsltutils.h"#include "attributes.h"#include "namespaces.h"#include "templates.h"#include "imports.h"#include "transform.h"#include "preproc.h"
Go to the source code of this file.
Classes | |
| struct | _xsltAttrElem |
| struct | _xsltUseAttrSet |
| struct | _xsltAttrSet |
| struct | _xsltAttrSetContext |
Macros | |
| #define | IN_LIBXSLT |
| #define | WITH_XSLT_DEBUG_ATTRIBUTES |
| #define | IS_BLANK(c) |
| #define | IS_BLANK_NODE(n) (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) |
| #define | ATTRSET_UNRESOLVED 0 |
| #define | ATTRSET_RESOLVING 1 |
| #define | ATTRSET_RESOLVED 2 |
Typedefs | |
| typedef struct _xsltAttrElem | xsltAttrElem |
| typedef xsltAttrElem * | xsltAttrElemPtr |
| typedef struct _xsltUseAttrSet | xsltUseAttrSet |
| typedef xsltUseAttrSet * | xsltUseAttrSetPtr |
| typedef struct _xsltAttrSet | xsltAttrSet |
| typedef xsltAttrSet * | xsltAttrSetPtr |
| typedef struct _xsltAttrSetContext | xsltAttrSetContext |
| typedef xsltAttrSetContext * | xsltAttrSetContextPtr |
| #define ATTRSET_RESOLVED 2 |
Definition at line 53 of file attributes.c.
| #define ATTRSET_RESOLVING 1 |
Definition at line 52 of file attributes.c.
| #define ATTRSET_UNRESOLVED 0 |
Definition at line 51 of file attributes.c.
| #define IN_LIBXSLT |
Definition at line 12 of file attributes.c.
Definition at line 48 of file attributes.c.
| #define WITH_XSLT_DEBUG_ATTRIBUTES |
Definition at line 33 of file attributes.c.
| typedef struct _xsltAttrElem xsltAttrElem |
Definition at line 62 of file attributes.c.
| typedef xsltAttrElem* xsltAttrElemPtr |
Definition at line 63 of file attributes.c.
| typedef struct _xsltAttrSet xsltAttrSet |
Definition at line 77 of file attributes.c.
Definition at line 85 of file attributes.c.
| typedef xsltAttrSetContext* xsltAttrSetContextPtr |
Definition at line 86 of file attributes.c.
| typedef xsltAttrSet* xsltAttrSetPtr |
Definition at line 78 of file attributes.c.
| typedef struct _xsltUseAttrSet xsltUseAttrSet |
Definition at line 69 of file attributes.c.
| typedef xsltUseAttrSet* xsltUseAttrSetPtr |
Definition at line 70 of file attributes.c.
|
static |
xsltAddAttrElemList: @list: an XSLT AttrElem list @attr: the new xsl:attribute node
Add the new attribute to the list.
Returns the new list pointer
Definition at line 165 of file attributes.c.
Referenced by xsltParseStylesheetAttributeSet().
|
static |
xsltAddUseAttrSetList: @list: a xsltUseAttrSet list @ncname: local name @ns: namespace URI
Add the use-attribute-set name to the list.
Returns the new list pointer.
Definition at line 248 of file attributes.c.
Referenced by xsltParseStylesheetAttributeSet().
| void xsltApplyAttributeSet | ( | xsltTransformContextPtr | ctxt, |
| xmlNodePtr | node, | ||
| xmlNodePtr | inst, | ||
| const xmlChar * | attrSets | ||
| ) |
xsltApplyAttributeSet: @ctxt: the XSLT stylesheet @node: the node in the source tree. @inst: the attribute node "xsl:use-attribute-sets" @attrSets: the list of QNames of the attribute-sets to be applied
Apply the xsl:use-attribute-sets. If @attrSets is NULL, then @inst will be used to exctract this value. If both, @attrSets and @inst, are NULL, then this will do nothing.
Definition at line 1118 of file attributes.c.
Referenced by xsltAttrListTemplateProcess(), xsltCopy(), and xsltElement().
| void xsltAttribute | ( | xsltTransformContextPtr | ctxt, |
| xmlNodePtr | contextNode, | ||
| xmlNodePtr | inst, | ||
| xsltElemPreCompPtr | castedComp | ||
| ) |
xsltAttribute: @ctxt: a XSLT process context @contextNode: the current node in the source tree @inst: the xsl:attribute element @castedComp: precomputed information
Process the xslt attribute node on the source node
Definition at line 748 of file attributes.c.
Referenced by xsltApplyAttributeSet(), xsltNewStylePreComp(), and xsltRegisterAllElement().
|
static |
xsltFreeAttrElem: @attr: an XSLT AttrElem
Free up the memory allocated by @attr
Definition at line 134 of file attributes.c.
Referenced by xsltFreeAttrElemList().
|
static |
xsltFreeAttrElemList: @list: an XSLT AttrElem list
Free up the memory allocated by @list
Definition at line 145 of file attributes.c.
Referenced by xsltFreeAttrSet().
|
static |
Definition at line 1225 of file attributes.c.
Referenced by xsltFreeAttributeSetsHashes().
| void xsltFreeAttributeSetsHashes | ( | xsltStylesheetPtr | style | ) |
xsltFreeAttributeSetsHashes: @style: an XSLT stylesheet
Free up the memory used by attribute sets
Definition at line 1237 of file attributes.c.
Referenced by xsltFreeStylesheet().
|
static |
xsltFreeAttrSet: @set: an attribute set
Free memory allocated by @set
Definition at line 298 of file attributes.c.
Referenced by xsltFreeAttributeSetsEntry(), xsltParseStylesheetAttributeSet(), xsltResolveAttrSet(), and xsltResolveSASCallback().
|
static |
xsltFreeUseAttrSet: @use: an XSLT UseAttrSet
Free up the memory allocated by @use
Definition at line 216 of file attributes.c.
Referenced by xsltFreeUseAttrSetList(), and xsltResolveUseAttrSets().
|
static |
xsltFreeUseAttrSetList: @list: an XSLT UseAttrSet list
Free up the memory allocated by @list
Definition at line 227 of file attributes.c.
Referenced by xsltFreeAttrSet().
|
static |
xsltMergeAttrSets: @set: an attribute set @other: another attribute set
Add all the attributes from @other to @set, but drop redefinition of existing values.
Definition at line 316 of file attributes.c.
Referenced by xsltResolveAttrSet(), and xsltResolveUseAttrSets().
|
static |
xsltNewAttrElem: @attr: the new xsl:attribute node
Create a new XSLT AttrElem
Returns the newly allocated xsltAttrElemPtr or NULL in case of error
Definition at line 113 of file attributes.c.
Referenced by xsltAddAttrElemList(), and xsltMergeAttrSets().
|
static |
xsltNewAttrSet:
Create a new attribute set.
Returns the newly allocated xsltAttrSetPtr or NULL in case of error.
Definition at line 278 of file attributes.c.
Referenced by xsltParseStylesheetAttributeSet().
|
static |
xsltNewUseAttrSet: @ncname: local name @ns: namespace URI
Create a new XSLT UseAttrSet
Returns the newly allocated xsltUseAttrSetPtr or NULL in case of error.
Definition at line 194 of file attributes.c.
Referenced by xsltAddUseAttrSetList().
| void xsltParseStylesheetAttributeSet | ( | xsltStylesheetPtr | style, |
| xmlNodePtr | cur | ||
| ) |
xsltParseStylesheetAttributeSet: @style: the XSLT stylesheet @cur: the "attribute-set" element
parse an XSLT stylesheet attribute-set element
Definition at line 368 of file attributes.c.
Referenced by xsltParseStylesheetTop().
|
static |
Definition at line 600 of file attributes.c.
Referenced by xsltResolveSASCallback(), and xsltResolveUseAttrSets().
|
static |
Definition at line 662 of file attributes.c.
Referenced by xsltResolveStylesheetAttributeSet().
| void xsltResolveStylesheetAttributeSet | ( | xsltStylesheetPtr | style | ) |
xsltResolveStylesheetAttributeSet: @style: the XSLT stylesheet
resolve the references between attribute sets.
Definition at line 701 of file attributes.c.
Referenced by xsltParseStylesheetUser().
|
static |
xsltResolveUseAttrSets: @set: the attribute set @asctx: the context for attribute set resolution @depth: recursion depth
Process "use-attribute-sets".
Definition at line 554 of file attributes.c.
Referenced by xsltResolveAttrSet().