Go to the source code of this file.
◆ xsltDebug()
xsltDebug: @ctxt: an XSLT processing context @node: The current node @inst: the instruction in the stylesheet @comp: precomputed information
Process an debug node
Definition at line 35 of file extra.c.
38{
40
42 for (
i = 0,
j = ctxt->
templNr - 1; ((
i < 15) && (
j >= 0));
i++,
j--) {
54 }
56 for (
i = 0,
j = ctxt->
varsNr - 1; ((
i < 15) && (
j >= 0));
i++,
j--) {
58
60 continue;
66 "corrupted !!!\n");
71 }
75 else
77#ifdef LIBXML_DEBUG_ENABLED
83 } else {
85 }
86#endif
89 }
90
91 }
92}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
xsltTemplatePtr * templTab
xsltStackElemPtr * varsTab
xmlGenericErrorFunc xsltGenericError
void * xsltGenericDebugContext
void * xsltGenericErrorContext
Referenced by xsltApplySequenceConstructor(), xsltApplyXSLTTemplate(), xsltRegisterAllElement(), and xsltRegisterAllExtras().
◆ xsltFunctionNodeSet()
void xsltFunctionNodeSet |
( |
xmlXPathParserContextPtr |
ctxt, |
|
|
int |
nargs |
|
) |
| |
xsltFunctionNodeSet: @ctxt: the XPath Parser context @nargs: the number of arguments
Implement the node-set() XSLT function node-set node-set(result-tree)
This function is available in libxslt, saxon or xt namespace.
Definition at line 111 of file extra.c.
111 {
112 if (nargs != 1) {
114 "node-set() : expects one result-tree arg\n");
115 ctxt->error = XPATH_INVALID_ARITY;
116 return;
117 }
118 if ((ctxt->value ==
NULL) ||
119 ((ctxt->value->type != XPATH_XSLT_TREE) &&
120 (ctxt->value->type != XPATH_NODESET))) {
122 "node-set() invalid arg expecting a result tree\n");
123 ctxt->error = XPATH_INVALID_TYPE;
124 return;
125 }
126 if (ctxt->value->type == XPATH_XSLT_TREE) {
127 ctxt->value->type = XPATH_NODESET;
128 }
129}
xsltTransformContextPtr xsltXPathGetTransformContext(xmlXPathParserContextPtr ctxt)
void xsltTransformError(xsltTransformContextPtr ctxt, xsltStylesheetPtr style, xmlNodePtr node, const char *msg,...)
Referenced by xsltRegisterAllExtras().
◆ xsltRegisterAllExtras()
xsltRegisterAllExtras:
Registers the built-in extensions
Definition at line 149 of file extra.c.
149 {
179}
int xsltRegisterExtModuleElement(const xmlChar *name, const xmlChar *URI, xsltPreComputeFunction precomp, xsltTransformFunction transform)
int xsltRegisterExtModuleFunction(const xmlChar *name, const xmlChar *URI, xmlXPathFunction function)
xsltElemPreCompPtr xsltDocumentComp(xsltStylesheetPtr style, xmlNodePtr inst, xsltTransformFunction function ATTRIBUTE_UNUSED)
Referenced by xsltInit(), and xsltRegisterExtras().
◆ xsltRegisterExtras()
xsltRegisterExtras: @ctxt: a XSLT process context
Registers the built-in extensions. This function is deprecated, use xsltRegisterAllExtras instead.
Definition at line 139 of file extra.c.