Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ExeBy/exe_root.../usr/include/libxml2/libxml
File: xpath.h
/*
[0] Fix | Delete
* Summary: XML Path Language implementation
[1] Fix | Delete
* Description: API for the XML Path Language implementation
[2] Fix | Delete
*
[3] Fix | Delete
* XML Path Language implementation
[4] Fix | Delete
* XPath is a language for addressing parts of an XML document,
[5] Fix | Delete
* designed to be used by both XSLT and XPointer
[6] Fix | Delete
* http://www.w3.org/TR/xpath
[7] Fix | Delete
*
[8] Fix | Delete
* Implements
[9] Fix | Delete
* W3C Recommendation 16 November 1999
[10] Fix | Delete
* http://www.w3.org/TR/1999/REC-xpath-19991116
[11] Fix | Delete
*
[12] Fix | Delete
* Copy: See Copyright for the status of this software.
[13] Fix | Delete
*
[14] Fix | Delete
* Author: Daniel Veillard
[15] Fix | Delete
*/
[16] Fix | Delete
[17] Fix | Delete
#ifndef __XML_XPATH_H__
[18] Fix | Delete
#define __XML_XPATH_H__
[19] Fix | Delete
[20] Fix | Delete
#include <libxml/xmlversion.h>
[21] Fix | Delete
[22] Fix | Delete
#ifdef LIBXML_XPATH_ENABLED
[23] Fix | Delete
[24] Fix | Delete
#include <libxml/xmlerror.h>
[25] Fix | Delete
#include <libxml/tree.h>
[26] Fix | Delete
#include <libxml/hash.h>
[27] Fix | Delete
#endif /* LIBXML_XPATH_ENABLED */
[28] Fix | Delete
[29] Fix | Delete
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
[30] Fix | Delete
#ifdef __cplusplus
[31] Fix | Delete
extern "C" {
[32] Fix | Delete
#endif
[33] Fix | Delete
#endif /* LIBXML_XPATH_ENABLED or LIBXML_SCHEMAS_ENABLED */
[34] Fix | Delete
[35] Fix | Delete
#ifdef LIBXML_XPATH_ENABLED
[36] Fix | Delete
[37] Fix | Delete
typedef struct _xmlXPathContext xmlXPathContext;
[38] Fix | Delete
typedef xmlXPathContext *xmlXPathContextPtr;
[39] Fix | Delete
typedef struct _xmlXPathParserContext xmlXPathParserContext;
[40] Fix | Delete
typedef xmlXPathParserContext *xmlXPathParserContextPtr;
[41] Fix | Delete
[42] Fix | Delete
/**
[43] Fix | Delete
* The set of XPath error codes.
[44] Fix | Delete
*/
[45] Fix | Delete
[46] Fix | Delete
typedef enum {
[47] Fix | Delete
XPATH_EXPRESSION_OK = 0,
[48] Fix | Delete
XPATH_NUMBER_ERROR,
[49] Fix | Delete
XPATH_UNFINISHED_LITERAL_ERROR,
[50] Fix | Delete
XPATH_START_LITERAL_ERROR,
[51] Fix | Delete
XPATH_VARIABLE_REF_ERROR,
[52] Fix | Delete
XPATH_UNDEF_VARIABLE_ERROR,
[53] Fix | Delete
XPATH_INVALID_PREDICATE_ERROR,
[54] Fix | Delete
XPATH_EXPR_ERROR,
[55] Fix | Delete
XPATH_UNCLOSED_ERROR,
[56] Fix | Delete
XPATH_UNKNOWN_FUNC_ERROR,
[57] Fix | Delete
XPATH_INVALID_OPERAND,
[58] Fix | Delete
XPATH_INVALID_TYPE,
[59] Fix | Delete
XPATH_INVALID_ARITY,
[60] Fix | Delete
XPATH_INVALID_CTXT_SIZE,
[61] Fix | Delete
XPATH_INVALID_CTXT_POSITION,
[62] Fix | Delete
XPATH_MEMORY_ERROR,
[63] Fix | Delete
XPTR_SYNTAX_ERROR,
[64] Fix | Delete
XPTR_RESOURCE_ERROR,
[65] Fix | Delete
XPTR_SUB_RESOURCE_ERROR,
[66] Fix | Delete
XPATH_UNDEF_PREFIX_ERROR,
[67] Fix | Delete
XPATH_ENCODING_ERROR,
[68] Fix | Delete
XPATH_INVALID_CHAR_ERROR,
[69] Fix | Delete
XPATH_INVALID_CTXT,
[70] Fix | Delete
XPATH_STACK_ERROR,
[71] Fix | Delete
XPATH_FORBID_VARIABLE_ERROR
[72] Fix | Delete
} xmlXPathError;
[73] Fix | Delete
[74] Fix | Delete
/*
[75] Fix | Delete
* A node-set (an unordered collection of nodes without duplicates).
[76] Fix | Delete
*/
[77] Fix | Delete
typedef struct _xmlNodeSet xmlNodeSet;
[78] Fix | Delete
typedef xmlNodeSet *xmlNodeSetPtr;
[79] Fix | Delete
struct _xmlNodeSet {
[80] Fix | Delete
int nodeNr; /* number of nodes in the set */
[81] Fix | Delete
int nodeMax; /* size of the array as allocated */
[82] Fix | Delete
xmlNodePtr *nodeTab; /* array of nodes in no particular order */
[83] Fix | Delete
/* @@ with_ns to check wether namespace nodes should be looked at @@ */
[84] Fix | Delete
};
[85] Fix | Delete
[86] Fix | Delete
/*
[87] Fix | Delete
* An expression is evaluated to yield an object, which
[88] Fix | Delete
* has one of the following four basic types:
[89] Fix | Delete
* - node-set
[90] Fix | Delete
* - boolean
[91] Fix | Delete
* - number
[92] Fix | Delete
* - string
[93] Fix | Delete
*
[94] Fix | Delete
* @@ XPointer will add more types !
[95] Fix | Delete
*/
[96] Fix | Delete
[97] Fix | Delete
typedef enum {
[98] Fix | Delete
XPATH_UNDEFINED = 0,
[99] Fix | Delete
XPATH_NODESET = 1,
[100] Fix | Delete
XPATH_BOOLEAN = 2,
[101] Fix | Delete
XPATH_NUMBER = 3,
[102] Fix | Delete
XPATH_STRING = 4,
[103] Fix | Delete
XPATH_POINT = 5,
[104] Fix | Delete
XPATH_RANGE = 6,
[105] Fix | Delete
XPATH_LOCATIONSET = 7,
[106] Fix | Delete
XPATH_USERS = 8,
[107] Fix | Delete
XPATH_XSLT_TREE = 9 /* An XSLT value tree, non modifiable */
[108] Fix | Delete
} xmlXPathObjectType;
[109] Fix | Delete
[110] Fix | Delete
typedef struct _xmlXPathObject xmlXPathObject;
[111] Fix | Delete
typedef xmlXPathObject *xmlXPathObjectPtr;
[112] Fix | Delete
struct _xmlXPathObject {
[113] Fix | Delete
xmlXPathObjectType type;
[114] Fix | Delete
xmlNodeSetPtr nodesetval;
[115] Fix | Delete
int boolval;
[116] Fix | Delete
double floatval;
[117] Fix | Delete
xmlChar *stringval;
[118] Fix | Delete
void *user;
[119] Fix | Delete
int index;
[120] Fix | Delete
void *user2;
[121] Fix | Delete
int index2;
[122] Fix | Delete
};
[123] Fix | Delete
[124] Fix | Delete
/**
[125] Fix | Delete
* xmlXPathConvertFunc:
[126] Fix | Delete
* @obj: an XPath object
[127] Fix | Delete
* @type: the number of the target type
[128] Fix | Delete
*
[129] Fix | Delete
* A conversion function is associated to a type and used to cast
[130] Fix | Delete
* the new type to primitive values.
[131] Fix | Delete
*
[132] Fix | Delete
* Returns -1 in case of error, 0 otherwise
[133] Fix | Delete
*/
[134] Fix | Delete
typedef int (*xmlXPathConvertFunc) (xmlXPathObjectPtr obj, int type);
[135] Fix | Delete
[136] Fix | Delete
/*
[137] Fix | Delete
* Extra type: a name and a conversion function.
[138] Fix | Delete
*/
[139] Fix | Delete
[140] Fix | Delete
typedef struct _xmlXPathType xmlXPathType;
[141] Fix | Delete
typedef xmlXPathType *xmlXPathTypePtr;
[142] Fix | Delete
struct _xmlXPathType {
[143] Fix | Delete
const xmlChar *name; /* the type name */
[144] Fix | Delete
xmlXPathConvertFunc func; /* the conversion function */
[145] Fix | Delete
};
[146] Fix | Delete
[147] Fix | Delete
/*
[148] Fix | Delete
* Extra variable: a name and a value.
[149] Fix | Delete
*/
[150] Fix | Delete
[151] Fix | Delete
typedef struct _xmlXPathVariable xmlXPathVariable;
[152] Fix | Delete
typedef xmlXPathVariable *xmlXPathVariablePtr;
[153] Fix | Delete
struct _xmlXPathVariable {
[154] Fix | Delete
const xmlChar *name; /* the variable name */
[155] Fix | Delete
xmlXPathObjectPtr value; /* the value */
[156] Fix | Delete
};
[157] Fix | Delete
[158] Fix | Delete
/**
[159] Fix | Delete
* xmlXPathEvalFunc:
[160] Fix | Delete
* @ctxt: an XPath parser context
[161] Fix | Delete
* @nargs: the number of arguments passed to the function
[162] Fix | Delete
*
[163] Fix | Delete
* An XPath evaluation function, the parameters are on the XPath context stack.
[164] Fix | Delete
*/
[165] Fix | Delete
[166] Fix | Delete
typedef void (*xmlXPathEvalFunc)(xmlXPathParserContextPtr ctxt,
[167] Fix | Delete
int nargs);
[168] Fix | Delete
[169] Fix | Delete
/*
[170] Fix | Delete
* Extra function: a name and a evaluation function.
[171] Fix | Delete
*/
[172] Fix | Delete
[173] Fix | Delete
typedef struct _xmlXPathFunct xmlXPathFunct;
[174] Fix | Delete
typedef xmlXPathFunct *xmlXPathFuncPtr;
[175] Fix | Delete
struct _xmlXPathFunct {
[176] Fix | Delete
const xmlChar *name; /* the function name */
[177] Fix | Delete
xmlXPathEvalFunc func; /* the evaluation function */
[178] Fix | Delete
};
[179] Fix | Delete
[180] Fix | Delete
/**
[181] Fix | Delete
* xmlXPathAxisFunc:
[182] Fix | Delete
* @ctxt: the XPath interpreter context
[183] Fix | Delete
* @cur: the previous node being explored on that axis
[184] Fix | Delete
*
[185] Fix | Delete
* An axis traversal function. To traverse an axis, the engine calls
[186] Fix | Delete
* the first time with cur == NULL and repeat until the function returns
[187] Fix | Delete
* NULL indicating the end of the axis traversal.
[188] Fix | Delete
*
[189] Fix | Delete
* Returns the next node in that axis or NULL if at the end of the axis.
[190] Fix | Delete
*/
[191] Fix | Delete
[192] Fix | Delete
typedef xmlXPathObjectPtr (*xmlXPathAxisFunc) (xmlXPathParserContextPtr ctxt,
[193] Fix | Delete
xmlXPathObjectPtr cur);
[194] Fix | Delete
[195] Fix | Delete
/*
[196] Fix | Delete
* Extra axis: a name and an axis function.
[197] Fix | Delete
*/
[198] Fix | Delete
[199] Fix | Delete
typedef struct _xmlXPathAxis xmlXPathAxis;
[200] Fix | Delete
typedef xmlXPathAxis *xmlXPathAxisPtr;
[201] Fix | Delete
struct _xmlXPathAxis {
[202] Fix | Delete
const xmlChar *name; /* the axis name */
[203] Fix | Delete
xmlXPathAxisFunc func; /* the search function */
[204] Fix | Delete
};
[205] Fix | Delete
[206] Fix | Delete
/**
[207] Fix | Delete
* xmlXPathFunction:
[208] Fix | Delete
* @ctxt: the XPath interprestation context
[209] Fix | Delete
* @nargs: the number of arguments
[210] Fix | Delete
*
[211] Fix | Delete
* An XPath function.
[212] Fix | Delete
* The arguments (if any) are popped out from the context stack
[213] Fix | Delete
* and the result is pushed on the stack.
[214] Fix | Delete
*/
[215] Fix | Delete
[216] Fix | Delete
typedef void (*xmlXPathFunction) (xmlXPathParserContextPtr ctxt, int nargs);
[217] Fix | Delete
[218] Fix | Delete
/*
[219] Fix | Delete
* Function and Variable Lookup.
[220] Fix | Delete
*/
[221] Fix | Delete
[222] Fix | Delete
/**
[223] Fix | Delete
* xmlXPathVariableLookupFunc:
[224] Fix | Delete
* @ctxt: an XPath context
[225] Fix | Delete
* @name: name of the variable
[226] Fix | Delete
* @ns_uri: the namespace name hosting this variable
[227] Fix | Delete
*
[228] Fix | Delete
* Prototype for callbacks used to plug variable lookup in the XPath
[229] Fix | Delete
* engine.
[230] Fix | Delete
*
[231] Fix | Delete
* Returns the XPath object value or NULL if not found.
[232] Fix | Delete
*/
[233] Fix | Delete
typedef xmlXPathObjectPtr (*xmlXPathVariableLookupFunc) (void *ctxt,
[234] Fix | Delete
const xmlChar *name,
[235] Fix | Delete
const xmlChar *ns_uri);
[236] Fix | Delete
[237] Fix | Delete
/**
[238] Fix | Delete
* xmlXPathFuncLookupFunc:
[239] Fix | Delete
* @ctxt: an XPath context
[240] Fix | Delete
* @name: name of the function
[241] Fix | Delete
* @ns_uri: the namespace name hosting this function
[242] Fix | Delete
*
[243] Fix | Delete
* Prototype for callbacks used to plug function lookup in the XPath
[244] Fix | Delete
* engine.
[245] Fix | Delete
*
[246] Fix | Delete
* Returns the XPath function or NULL if not found.
[247] Fix | Delete
*/
[248] Fix | Delete
typedef xmlXPathFunction (*xmlXPathFuncLookupFunc) (void *ctxt,
[249] Fix | Delete
const xmlChar *name,
[250] Fix | Delete
const xmlChar *ns_uri);
[251] Fix | Delete
[252] Fix | Delete
/**
[253] Fix | Delete
* xmlXPathFlags:
[254] Fix | Delete
* Flags for XPath engine compilation and runtime
[255] Fix | Delete
*/
[256] Fix | Delete
/**
[257] Fix | Delete
* XML_XPATH_CHECKNS:
[258] Fix | Delete
*
[259] Fix | Delete
* check namespaces at compilation
[260] Fix | Delete
*/
[261] Fix | Delete
#define XML_XPATH_CHECKNS (1<<0)
[262] Fix | Delete
/**
[263] Fix | Delete
* XML_XPATH_NOVAR:
[264] Fix | Delete
*
[265] Fix | Delete
* forbid variables in expression
[266] Fix | Delete
*/
[267] Fix | Delete
#define XML_XPATH_NOVAR (1<<1)
[268] Fix | Delete
[269] Fix | Delete
/**
[270] Fix | Delete
* xmlXPathContext:
[271] Fix | Delete
*
[272] Fix | Delete
* Expression evaluation occurs with respect to a context.
[273] Fix | Delete
* he context consists of:
[274] Fix | Delete
* - a node (the context node)
[275] Fix | Delete
* - a node list (the context node list)
[276] Fix | Delete
* - a set of variable bindings
[277] Fix | Delete
* - a function library
[278] Fix | Delete
* - the set of namespace declarations in scope for the expression
[279] Fix | Delete
* Following the switch to hash tables, this need to be trimmed up at
[280] Fix | Delete
* the next binary incompatible release.
[281] Fix | Delete
* The node may be modified when the context is passed to libxml2
[282] Fix | Delete
* for an XPath evaluation so you may need to initialize it again
[283] Fix | Delete
* before the next call.
[284] Fix | Delete
*/
[285] Fix | Delete
[286] Fix | Delete
struct _xmlXPathContext {
[287] Fix | Delete
xmlDocPtr doc; /* The current document */
[288] Fix | Delete
xmlNodePtr node; /* The current node */
[289] Fix | Delete
[290] Fix | Delete
int nb_variables_unused; /* unused (hash table) */
[291] Fix | Delete
int max_variables_unused; /* unused (hash table) */
[292] Fix | Delete
xmlHashTablePtr varHash; /* Hash table of defined variables */
[293] Fix | Delete
[294] Fix | Delete
int nb_types; /* number of defined types */
[295] Fix | Delete
int max_types; /* max number of types */
[296] Fix | Delete
xmlXPathTypePtr types; /* Array of defined types */
[297] Fix | Delete
[298] Fix | Delete
int nb_funcs_unused; /* unused (hash table) */
[299] Fix | Delete
int max_funcs_unused; /* unused (hash table) */
[300] Fix | Delete
xmlHashTablePtr funcHash; /* Hash table of defined funcs */
[301] Fix | Delete
[302] Fix | Delete
int nb_axis; /* number of defined axis */
[303] Fix | Delete
int max_axis; /* max number of axis */
[304] Fix | Delete
xmlXPathAxisPtr axis; /* Array of defined axis */
[305] Fix | Delete
[306] Fix | Delete
/* the namespace nodes of the context node */
[307] Fix | Delete
xmlNsPtr *namespaces; /* Array of namespaces */
[308] Fix | Delete
int nsNr; /* number of namespace in scope */
[309] Fix | Delete
void *user; /* function to free */
[310] Fix | Delete
[311] Fix | Delete
/* extra variables */
[312] Fix | Delete
int contextSize; /* the context size */
[313] Fix | Delete
int proximityPosition; /* the proximity position */
[314] Fix | Delete
[315] Fix | Delete
/* extra stuff for XPointer */
[316] Fix | Delete
int xptr; /* is this an XPointer context? */
[317] Fix | Delete
xmlNodePtr here; /* for here() */
[318] Fix | Delete
xmlNodePtr origin; /* for origin() */
[319] Fix | Delete
[320] Fix | Delete
/* the set of namespace declarations in scope for the expression */
[321] Fix | Delete
xmlHashTablePtr nsHash; /* The namespaces hash table */
[322] Fix | Delete
xmlXPathVariableLookupFunc varLookupFunc;/* variable lookup func */
[323] Fix | Delete
void *varLookupData; /* variable lookup data */
[324] Fix | Delete
[325] Fix | Delete
/* Possibility to link in an extra item */
[326] Fix | Delete
void *extra; /* needed for XSLT */
[327] Fix | Delete
[328] Fix | Delete
/* The function name and URI when calling a function */
[329] Fix | Delete
const xmlChar *function;
[330] Fix | Delete
const xmlChar *functionURI;
[331] Fix | Delete
[332] Fix | Delete
/* function lookup function and data */
[333] Fix | Delete
xmlXPathFuncLookupFunc funcLookupFunc;/* function lookup func */
[334] Fix | Delete
void *funcLookupData; /* function lookup data */
[335] Fix | Delete
[336] Fix | Delete
/* temporary namespace lists kept for walking the namespace axis */
[337] Fix | Delete
xmlNsPtr *tmpNsList; /* Array of namespaces */
[338] Fix | Delete
int tmpNsNr; /* number of namespaces in scope */
[339] Fix | Delete
[340] Fix | Delete
/* error reporting mechanism */
[341] Fix | Delete
void *userData; /* user specific data block */
[342] Fix | Delete
xmlStructuredErrorFunc error; /* the callback in case of errors */
[343] Fix | Delete
xmlError lastError; /* the last error */
[344] Fix | Delete
xmlNodePtr debugNode; /* the source node XSLT */
[345] Fix | Delete
[346] Fix | Delete
/* dictionary */
[347] Fix | Delete
xmlDictPtr dict; /* dictionary if any */
[348] Fix | Delete
[349] Fix | Delete
int flags; /* flags to control compilation */
[350] Fix | Delete
[351] Fix | Delete
/* Cache for reusal of XPath objects */
[352] Fix | Delete
void *cache;
[353] Fix | Delete
};
[354] Fix | Delete
[355] Fix | Delete
/*
[356] Fix | Delete
* The structure of a compiled expression form is not public.
[357] Fix | Delete
*/
[358] Fix | Delete
[359] Fix | Delete
typedef struct _xmlXPathCompExpr xmlXPathCompExpr;
[360] Fix | Delete
typedef xmlXPathCompExpr *xmlXPathCompExprPtr;
[361] Fix | Delete
[362] Fix | Delete
/**
[363] Fix | Delete
* xmlXPathParserContext:
[364] Fix | Delete
*
[365] Fix | Delete
* An XPath parser context. It contains pure parsing informations,
[366] Fix | Delete
* an xmlXPathContext, and the stack of objects.
[367] Fix | Delete
*/
[368] Fix | Delete
struct _xmlXPathParserContext {
[369] Fix | Delete
const xmlChar *cur; /* the current char being parsed */
[370] Fix | Delete
const xmlChar *base; /* the full expression */
[371] Fix | Delete
[372] Fix | Delete
int error; /* error code */
[373] Fix | Delete
[374] Fix | Delete
xmlXPathContextPtr context; /* the evaluation context */
[375] Fix | Delete
xmlXPathObjectPtr value; /* the current value */
[376] Fix | Delete
int valueNr; /* number of values stacked */
[377] Fix | Delete
int valueMax; /* max number of values stacked */
[378] Fix | Delete
xmlXPathObjectPtr *valueTab; /* stack of values */
[379] Fix | Delete
[380] Fix | Delete
xmlXPathCompExprPtr comp; /* the precompiled expression */
[381] Fix | Delete
int xptr; /* it this an XPointer expression */
[382] Fix | Delete
xmlNodePtr ancestor; /* used for walking preceding axis */
[383] Fix | Delete
[384] Fix | Delete
int valueFrame; /* used to limit Pop on the stack */
[385] Fix | Delete
};
[386] Fix | Delete
[387] Fix | Delete
/************************************************************************
[388] Fix | Delete
* *
[389] Fix | Delete
* Public API *
[390] Fix | Delete
* *
[391] Fix | Delete
************************************************************************/
[392] Fix | Delete
[393] Fix | Delete
/**
[394] Fix | Delete
* Objects and Nodesets handling
[395] Fix | Delete
*/
[396] Fix | Delete
[397] Fix | Delete
XMLPUBVAR double xmlXPathNAN;
[398] Fix | Delete
XMLPUBVAR double xmlXPathPINF;
[399] Fix | Delete
XMLPUBVAR double xmlXPathNINF;
[400] Fix | Delete
[401] Fix | Delete
/* These macros may later turn into functions */
[402] Fix | Delete
/**
[403] Fix | Delete
* xmlXPathNodeSetGetLength:
[404] Fix | Delete
* @ns: a node-set
[405] Fix | Delete
*
[406] Fix | Delete
* Implement a functionality similar to the DOM NodeList.length.
[407] Fix | Delete
*
[408] Fix | Delete
* Returns the number of nodes in the node-set.
[409] Fix | Delete
*/
[410] Fix | Delete
#define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
[411] Fix | Delete
/**
[412] Fix | Delete
* xmlXPathNodeSetItem:
[413] Fix | Delete
* @ns: a node-set
[414] Fix | Delete
* @index: index of a node in the set
[415] Fix | Delete
*
[416] Fix | Delete
* Implements a functionality similar to the DOM NodeList.item().
[417] Fix | Delete
*
[418] Fix | Delete
* Returns the xmlNodePtr at the given @index in @ns or NULL if
[419] Fix | Delete
* @index is out of range (0 to length-1)
[420] Fix | Delete
*/
[421] Fix | Delete
#define xmlXPathNodeSetItem(ns, index) \
[422] Fix | Delete
((((ns) != NULL) && \
[423] Fix | Delete
((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
[424] Fix | Delete
(ns)->nodeTab[(index)] \
[425] Fix | Delete
: NULL)
[426] Fix | Delete
/**
[427] Fix | Delete
* xmlXPathNodeSetIsEmpty:
[428] Fix | Delete
* @ns: a node-set
[429] Fix | Delete
*
[430] Fix | Delete
* Checks whether @ns is empty or not.
[431] Fix | Delete
*
[432] Fix | Delete
* Returns %TRUE if @ns is an empty node-set.
[433] Fix | Delete
*/
[434] Fix | Delete
#define xmlXPathNodeSetIsEmpty(ns) \
[435] Fix | Delete
(((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
[436] Fix | Delete
[437] Fix | Delete
[438] Fix | Delete
XMLPUBFUN void XMLCALL
[439] Fix | Delete
xmlXPathFreeObject (xmlXPathObjectPtr obj);
[440] Fix | Delete
XMLPUBFUN xmlNodeSetPtr XMLCALL
[441] Fix | Delete
xmlXPathNodeSetCreate (xmlNodePtr val);
[442] Fix | Delete
XMLPUBFUN void XMLCALL
[443] Fix | Delete
xmlXPathFreeNodeSetList (xmlXPathObjectPtr obj);
[444] Fix | Delete
XMLPUBFUN void XMLCALL
[445] Fix | Delete
xmlXPathFreeNodeSet (xmlNodeSetPtr obj);
[446] Fix | Delete
XMLPUBFUN xmlXPathObjectPtr XMLCALL
[447] Fix | Delete
xmlXPathObjectCopy (xmlXPathObjectPtr val);
[448] Fix | Delete
XMLPUBFUN int XMLCALL
[449] Fix | Delete
xmlXPathCmpNodes (xmlNodePtr node1,
[450] Fix | Delete
xmlNodePtr node2);
[451] Fix | Delete
/**
[452] Fix | Delete
* Conversion functions to basic types.
[453] Fix | Delete
*/
[454] Fix | Delete
XMLPUBFUN int XMLCALL
[455] Fix | Delete
xmlXPathCastNumberToBoolean (double val);
[456] Fix | Delete
XMLPUBFUN int XMLCALL
[457] Fix | Delete
xmlXPathCastStringToBoolean (const xmlChar * val);
[458] Fix | Delete
XMLPUBFUN int XMLCALL
[459] Fix | Delete
xmlXPathCastNodeSetToBoolean(xmlNodeSetPtr ns);
[460] Fix | Delete
XMLPUBFUN int XMLCALL
[461] Fix | Delete
xmlXPathCastToBoolean (xmlXPathObjectPtr val);
[462] Fix | Delete
[463] Fix | Delete
XMLPUBFUN double XMLCALL
[464] Fix | Delete
xmlXPathCastBooleanToNumber (int val);
[465] Fix | Delete
XMLPUBFUN double XMLCALL
[466] Fix | Delete
xmlXPathCastStringToNumber (const xmlChar * val);
[467] Fix | Delete
XMLPUBFUN double XMLCALL
[468] Fix | Delete
xmlXPathCastNodeToNumber (xmlNodePtr node);
[469] Fix | Delete
XMLPUBFUN double XMLCALL
[470] Fix | Delete
xmlXPathCastNodeSetToNumber (xmlNodeSetPtr ns);
[471] Fix | Delete
XMLPUBFUN double XMLCALL
[472] Fix | Delete
xmlXPathCastToNumber (xmlXPathObjectPtr val);
[473] Fix | Delete
[474] Fix | Delete
XMLPUBFUN xmlChar * XMLCALL
[475] Fix | Delete
xmlXPathCastBooleanToString (int val);
[476] Fix | Delete
XMLPUBFUN xmlChar * XMLCALL
[477] Fix | Delete
xmlXPathCastNumberToString (double val);
[478] Fix | Delete
XMLPUBFUN xmlChar * XMLCALL
[479] Fix | Delete
xmlXPathCastNodeToString (xmlNodePtr node);
[480] Fix | Delete
XMLPUBFUN xmlChar * XMLCALL
[481] Fix | Delete
xmlXPathCastNodeSetToString (xmlNodeSetPtr ns);
[482] Fix | Delete
XMLPUBFUN xmlChar * XMLCALL
[483] Fix | Delete
xmlXPathCastToString (xmlXPathObjectPtr val);
[484] Fix | Delete
[485] Fix | Delete
XMLPUBFUN xmlXPathObjectPtr XMLCALL
[486] Fix | Delete
xmlXPathConvertBoolean (xmlXPathObjectPtr val);
[487] Fix | Delete
XMLPUBFUN xmlXPathObjectPtr XMLCALL
[488] Fix | Delete
xmlXPathConvertNumber (xmlXPathObjectPtr val);
[489] Fix | Delete
XMLPUBFUN xmlXPathObjectPtr XMLCALL
[490] Fix | Delete
xmlXPathConvertString (xmlXPathObjectPtr val);
[491] Fix | Delete
[492] Fix | Delete
/**
[493] Fix | Delete
* Context handling.
[494] Fix | Delete
*/
[495] Fix | Delete
XMLPUBFUN xmlXPathContextPtr XMLCALL
[496] Fix | Delete
xmlXPathNewContext (xmlDocPtr doc);
[497] Fix | Delete
XMLPUBFUN void XMLCALL
[498] Fix | Delete
xmlXPathFreeContext (xmlXPathContextPtr ctxt);
[499] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function