ReactOS 0.4.16-dev-88-ga65b6ae
|
#include "precomp.h"
Go to the source code of this file.
Classes | |
struct | _xsltAttrElem |
struct | _xsltUseAttrSet |
struct | _xsltAttrSet |
struct | _xsltAttrSetContext |
Macros | |
#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 34 of file attributes.c.
#define ATTRSET_RESOLVING 1 |
Definition at line 33 of file attributes.c.
#define ATTRSET_UNRESOLVED 0 |
Definition at line 32 of file attributes.c.
#define IS_BLANK_NODE | ( | n | ) | (((n)->type == XML_TEXT_NODE) && (xsltIsBlank((n)->content))) |
Definition at line 29 of file attributes.c.
#define WITH_XSLT_DEBUG_ATTRIBUTES |
Definition at line 14 of file attributes.c.
typedef struct _xsltAttrElem xsltAttrElem |
Definition at line 43 of file attributes.c.
typedef xsltAttrElem* xsltAttrElemPtr |
Definition at line 44 of file attributes.c.
typedef struct _xsltAttrSet xsltAttrSet |
Definition at line 58 of file attributes.c.
Definition at line 66 of file attributes.c.
typedef xsltAttrSetContext* xsltAttrSetContextPtr |
Definition at line 67 of file attributes.c.
typedef xsltAttrSet* xsltAttrSetPtr |
Definition at line 59 of file attributes.c.
typedef struct _xsltUseAttrSet xsltUseAttrSet |
Definition at line 50 of file attributes.c.
typedef xsltUseAttrSet* xsltUseAttrSetPtr |
Definition at line 51 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 145 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 228 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 1086 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 716 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 114 of file attributes.c.
Referenced by xsltFreeAttrElemList().
|
static |
xsltFreeAttrElemList: @list: an XSLT AttrElem list
Free up the memory allocated by @list
Definition at line 125 of file attributes.c.
Referenced by xsltFreeAttrSet().
|
static |
Definition at line 1193 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 1205 of file attributes.c.
Referenced by xsltFreeStylesheet().
|
static |
xsltFreeAttrSet: @set: an attribute set
Free memory allocated by @set
Definition at line 278 of file attributes.c.
Referenced by xsltFreeAttributeSetsEntry(), and xsltResolveAttrSet().
|
static |
xsltFreeUseAttrSet: @use: an XSLT UseAttrSet
Free up the memory allocated by @use
Definition at line 196 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 207 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 296 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 93 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 258 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 174 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 348 of file attributes.c.
Referenced by xsltParseStylesheetTop().
|
static |
Definition at line 577 of file attributes.c.
Referenced by xsltResolveSASCallback(), and xsltResolveUseAttrSets().
|
static |
Definition at line 639 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 670 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 531 of file attributes.c.
Referenced by xsltResolveAttrSet().