ReactOS 0.4.16-dev-319-g6cf4263
|
#include "precomp.h"
Go to the source code of this file.
skipPredicate: @cur: the current pointer @end: the current offset
skip a predicate
Returns the byte after the predicate or -1 in case of error
Definition at line 225 of file keys.c.
Referenced by xsltAddKey().
skipString: @cur: the current pointer @end: the current offset
skip a string delimited by " or '
Returns the byte after the string or -1 in case of error
Definition at line 200 of file keys.c.
Referenced by skipPredicate().
int xsltAddKey | ( | xsltStylesheetPtr | style, |
const xmlChar * | name, | ||
const xmlChar * | nameURI, | ||
const xmlChar * | match, | ||
const xmlChar * | use, | ||
xmlNodePtr | inst | ||
) |
Definition at line 263 of file keys.c.
Referenced by xsltParseStylesheetKey().
void xsltFreeDocumentKeys | ( | xsltDocumentPtr | idoc | ) |
xsltFreeDocumentKeys: @idoc: a XSLT document
Free the keys associated to a document
Definition at line 925 of file keys.c.
Referenced by xsltFreeDocuments(), xsltFreeRVTs(), xsltFreeStyleDocuments(), xsltReleaseRVT(), and xsltTransformCacheFree().
|
static |
xsltFreeKeyDef: @keyd: an XSLT key definition
Free up the memory allocated by @keyd
Definition at line 63 of file keys.c.
Referenced by xsltAddKey(), and xsltFreeKeyDefList().
|
static |
xsltFreeKeyDefList: @keyd: an XSLT key definition list
Free up the memory allocated by all the elements of @keyd
Definition at line 91 of file keys.c.
Referenced by xsltFreeKeys().
void xsltFreeKeys | ( | xsltStylesheetPtr | style | ) |
xsltFreeKeys: @style: an XSLT stylesheet
Free up the memory used by XSLT keys in a stylesheet
Definition at line 185 of file keys.c.
Referenced by xsltFreeStylesheet().
|
static |
xsltFreeKeyTable: @keyt: an XSLT key table
Free up the memory allocated by @keyt
Definition at line 141 of file keys.c.
Referenced by xsltFreeKeyTableList().
|
static |
xsltFreeKeyTableList: @keyt: an XSLT key table list
Free up the memory allocated by all the elements of @keyt
Definition at line 161 of file keys.c.
Referenced by xsltFreeDocumentKeys().
Definition at line 130 of file keys.c.
Referenced by xsltFreeKeyTable().
xmlNodeSetPtr xsltGetKey | ( | xsltTransformContextPtr | ctxt, |
const xmlChar * | name, | ||
const xmlChar * | nameURI, | ||
const xmlChar * | value | ||
) |
Definition at line 417 of file keys.c.
Referenced by xsltKeyFunction(), and xsltTestStepMatch().
int xsltInitAllDocKeys | ( | xsltTransformContextPtr | ctxt | ) |
xsltInitAllDocKeys: @ctxt: transformation context
INTERNAL ROUTINE ONLY
Check if any keys on the current document need to be computed
Returns 0 in case of success, -1 in case of failure
Definition at line 535 of file keys.c.
Referenced by xsltComputeAllKeys(), and xsltGetKey().
int xsltInitCtxtKey | ( | xsltTransformContextPtr | ctxt, |
xsltDocumentPtr | idoc, | ||
xsltKeyDefPtr | keyDef | ||
) |
xsltInitCtxtKey: @ctxt: an XSLT transformation context @idoc: the document information (holds key values) @keyDef: the key definition
Computes the key tables this key and for the current input document.
Returns: 0 on success, -1 on error
Multiple key definitions for the same name are allowed, so we must check if the key is already present for this doc
If the key was not previously defined, create it now and chain it to the list of keys for the doc
Definition at line 604 of file keys.c.
Referenced by xsltInitCtxtKeys(), and xsltInitDocKeyTable().
void xsltInitCtxtKeys | ( | xsltTransformContextPtr | ctxt, |
xsltDocumentPtr | idoc | ||
) |
xsltInitCtxtKeys: @ctxt: an XSLT transformation context @idoc: a document info
Computes all the keys tables for the current input document. Should be done before global varibales are initialized. NOTE: Not used anymore in the refactored code.
Definition at line 884 of file keys.c.
|
static |
xsltInitDocKeyTable:
INTERNAL ROUTINE ONLY
Check if any keys on the current document need to be computed
Definition at line 479 of file keys.c.
Referenced by xsltGetKey(), and xsltInitAllDocKeys().
|
static |
Definition at line 38 of file keys.c.
Referenced by xsltAddKey().
|
static |
Definition at line 111 of file keys.c.
Referenced by xsltInitCtxtKey().