Import line: | libxml2 = imports.gi.libxml2; |
GIR File: | libxml2-2.0.gir |
C documentation: | libxml2XPathParserContext |
Struct : | XPathParserContext |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
ancestor : libxml2.Node
|
libxml2.XPathParserContext | |
base : Number
|
libxml2.XPathParserContext | |
comp : libxml2.XPathCompExpr
|
libxml2.XPathParserContext | |
context : libxml2.XPathContext
|
libxml2.XPathParserContext | |
cur : Number
|
libxml2.XPathParserContext | |
error : Number
|
libxml2.XPathParserContext | |
value : libxml2.XPathObject
|
libxml2.XPathParserContext | |
valueMax : Number
|
libxml2.XPathParserContext | |
valueNr : Number
|
libxml2.XPathParserContext | |
valueTab : libxml2.XPathObject
|
libxml2.XPathParserContext | |
xptr : Number
|
libxml2.XPathParserContext |
Method / Constructor | Defined By | |
---|---|---|
new libxml2.XPathParserContext
()
Create a new libxml2.XPathParserContext
Create a new libxml2.XPathParserContext
|
||
new libxml2.XPathParserContext.XPathNewParserContext
(Number str, XPathContext ctxt)
:
libxml2.XPathParserContext
Create a new libxml2.XPathParserContext
Create a new libxml2.XPathParserContext
|
||
XPathAddValues
()
:
none
Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
Implement the add operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
XPathBooleanFunction
(Number nargs)
:
none
Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero
Implement the boolean() XPath function boolean boolean(object) The boolean function converts its argument to a boolean as follows: - a number is true if and only if it is neither positive or negative zero nor NaN - a node-set is true if and only if it is non-empty - a string is true if and only if its length is non-zero
|
libxml2.XPathParserContext | |
XPathCeilingFunction
(Number nargs)
:
none
Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.
Implement the ceiling() XPath function number ceiling(number) The ceiling function returns the smallest (closest to negative infinity) number that is not less than the argument and that is an integer.
|
libxml2.XPathParserContext | |
Implement the compare operation on XPath objects: When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754.
Implement the compare operation on XPath objects: When neither object to be compared is a node-set and the operator is <=, <, >=, >, then the objects are compared by converted both objects to numbers and comparing the numbers according to IEEE 754. The < comparison will be true if and only if the first number is less than the second number. The <= comparison will be true if and only if the first number is less than or equal to the second number. The > comparison will be true if and only if the first number is greater than the second number. The >= comparison will be true if and only if the first number is greater than or equal to the second number. Returns 1 if the comparison succeeded, 0 if it failed
|
libxml2.XPathParserContext | |
XPathConcatFunction
(Number nargs)
:
none
Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.
Implement the concat() XPath function string concat(string, string, string*) The concat function returns the concatenation of its arguments.
|
libxml2.XPathParserContext | |
XPathContainsFunction
(Number nargs)
:
none
Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.
Implement the contains() XPath function boolean contains(string, string) The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.
|
libxml2.XPathParserContext | |
XPathCountFunction
(Number nargs)
:
none
Implement the count() XPath function number count(node-set)
Implement the count() XPath function number count(node-set)
|
libxml2.XPathParserContext | |
XPathDivValues
()
:
none
Implement the div operation on XPath objects arg1 / arg2: The numeric operators convert their operands to numbers as if by calling the number function.
Implement the div operation on XPath objects arg1 / arg2: The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
XPathEqualValues
()
:
Number
Returns 0 or 1 depending on the results of the test.
Returns 0 or 1 depending on the results of the test.
|
libxml2.XPathParserContext | |
XPathErr
(Number error)
:
none
Handle an XPath error
Handle an XPath error
|
libxml2.XPathParserContext | |
XPathEvalExpr
()
:
none
Parse and evaluate an XPath expression in the given context, then push the result on the context stack
Parse and evaluate an XPath expression in the given context, then push the result on the context stack
|
libxml2.XPathParserContext | |
XPathEvaluatePredicateResult
(XPathObject res)
:
Number
Evaluate a predicate result for the current node.
Evaluate a predicate result for the current node. A PredicateExpr is evaluated by evaluating the Expr and converting the result to a boolean. If the result is a number, the result will be converted to true if the number is equal to the position of the context node in the context node list (as returned by the position function) and will be converted to false otherwise; if the result is not a number, then the result will be converted as if by a call to the boolean function. Returns 1 if predicate is true, 0 otherwise
|
libxml2.XPathParserContext | |
XPathFalseFunction
(Number nargs)
:
none
Implement the false() XPath function boolean false()
Implement the false() XPath function boolean false()
|
libxml2.XPathParserContext | |
XPathFloorFunction
(Number nargs)
:
none
Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.
Implement the floor() XPath function number floor(number) The floor function returns the largest (closest to positive infinity) number that is not greater than the argument and that is an integer.
|
libxml2.XPathParserContext | |
XPathFreeParserContext
()
:
none
Free up an xmlXPathParserContext
Free up an xmlXPathParserContext
|
libxml2.XPathParserContext | |
XPathIdFunction
(Number nargs)
:
none
Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]).
Implement the id() XPath function node-set id(object) The id function selects elements by their unique ID (see [5.2.1 Unique IDs]). When the argument to id is of type node-set, then the result is the union of the result of applying id to the string value of each of the nodes in the argument node-set. When the argument to id is of any other type, the argument is converted to a string as if by a call to the string function; the string is split into a whitespace-separated list of tokens (whitespace is any sequence of characters matching the production S); the result is a node-set containing the elements in the same document as the context node that have a unique ID equal to any of the tokens in the list.
|
libxml2.XPathParserContext | |
XPathLangFunction
(Number nargs)
:
none
Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string.
Implement the lang() XPath function boolean lang(string) The lang function returns true or false depending on whether the language of the context node as specified by xml:lang attributes is the same as or is a sublanguage of the language specified by the argument string. The language of the context node is determined by the value of the xml:lang attribute on the context node, or, if the context node has no xml:lang attribute, by the value of the xml:lang attribute on the nearest ancestor of the context node that has an xml:lang attribute. If there is no such attribute, then lang returns false. If there is such an attribute, then lang returns true if the attribute value is equal to the argument ignoring case, or if there is some suffix starting with - such that the attribute value is equal to the argument ignoring that suffix of the attribute value and ignoring case.
|
libxml2.XPathParserContext | |
XPathLastFunction
(Number nargs)
:
none
Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.
Implement the last() XPath function number last() The last function returns the number of nodes in the context node list.
|
libxml2.XPathParserContext | |
XPathLocalNameFunction
(Number nargs)
:
none
Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order.
Implement the local-name() XPath function string local-name(node-set?) The local-name function returns a string containing the local part of the name of the node in the argument node-set that is first in document order. If the node-set is empty or the first node has no name, an empty string is returned. If the argument is omitted it defaults to the context node.
|
libxml2.XPathParserContext | |
XPathModValues
()
:
none
The numeric operators convert their operands to numbers as if by calling the number function.
The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
XPathMultValues
()
:
none
Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
Implement the multiply operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
XPathNamespaceURIFunction
(Number nargs)
:
none
Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order.
Implement the namespace-uri() XPath function string namespace-uri(node-set?) The namespace-uri function returns a string containing the namespace URI of the expanded name of the node in the argument node-set that is first in document order. If the node-set is empty, the first node has no name, or the expanded name has no namespace URI, an empty string is returned. If the argument is omitted it defaults to the context node.
|
libxml2.XPathParserContext | |
XPathNextAncestor
(Node cur)
:
libxml2.Node
Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis Returns the next element following that axis
Traversal function for the "ancestor" direction the ancestor axis contains the ancestors of the context node; the ancestors of the context node consist of the parent of context node and the parent's parent and so on; the nodes are ordered in reverse document order; thus the parent is the first node on the axis, and the parent's parent is the second node on the axis Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextAncestorOrSelf
(Node cur)
:
libxml2.Node
Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis.
Traversal function for the "ancestor-or-self" direction he ancestor-or-self axis contains the context node and ancestors of the context node in reverse document order; thus the context node is the first node on the axis, and the context node's parent the second; parent here is defined the same as with the parent axis. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextAttribute
(Node cur)
:
libxml2.Node
Traversal function for the "attribute" direction Returns the next element following that axis
Traversal function for the "attribute" direction Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextChild
(Node cur)
:
libxml2.Node
Traversal function for the "child" direction The child axis contains the children of the context node in document order.
Traversal function for the "child" direction The child axis contains the children of the context node in document order. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextDescendant
(Node cur)
:
libxml2.Node
Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on.
Traversal function for the "descendant" direction the descendant axis contains the descendants of the context node in document order; a descendant is a child or a child of a child and so on. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextDescendantOrSelf
(Node cur)
:
libxml2.Node
Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis Returns the next element following that axis
Traversal function for the "descendant-or-self" direction the descendant-or-self axis contains the context node and the descendants of the context node in document order; thus the context node is the first node on the axis, and the first child of the context node is the second node on the axis Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextFollowing
(Node cur)
:
libxml2.Node
Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order Returns the next element following that axis
Traversal function for the "following" direction The following axis contains all nodes in the same document as the context node that are after the context node in document order, excluding any descendants and excluding attribute nodes and namespace nodes; the nodes are ordered in document order Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextFollowingSibling
(Node cur)
:
libxml2.Node
Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order.
Traversal function for the "following-sibling" direction The following-sibling axis contains the following siblings of the context node in document order. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextNamespace
(Node cur)
:
libxml2.Node
Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list.
Traversal function for the "namespace" direction the namespace axis contains the namespace nodes of the context node; the order of nodes on this axis is implementation-defined; the axis will be empty unless the context node is an element We keep the XML namespace node at the end of the list. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextParent
(Node cur)
:
libxml2.Node
Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one.
Traversal function for the "parent" direction The parent axis contains the parent of the context node, if there is one. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextPreceding
(Node cur)
:
libxml2.Node
Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order Returns the next element following that axis
Traversal function for the "preceding" direction the preceding axis contains all nodes in the same document as the context node that are before the context node in document order, excluding any ancestors and excluding attribute nodes and namespace nodes; the nodes are ordered in reverse document order Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextPrecedingSibling
(Node cur)
:
libxml2.Node
Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on.
Traversal function for the "preceding-sibling" direction The preceding-sibling axis contains the preceding siblings of the context node in reverse document order; the first preceding sibling is first on the axis; the sibling preceding that node is the second on the axis and so on. Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNextSelf
(Node cur)
:
libxml2.Node
Traversal function for the "self" direction The self axis contains just the context node itself Returns the next element following that axis
Traversal function for the "self" direction The self axis contains just the context node itself Returns the next element following that axis
|
libxml2.XPathParserContext | |
XPathNormalizeFunction
(Number nargs)
:
none
Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space.
Implement the normalize-space() XPath function string normalize-space(string?) The normalize-space function returns the argument string with white space normalized by stripping leading and trailing whitespace and replacing sequences of whitespace characters by a single space. Whitespace characters are the same allowed by the S production in XML. If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.
|
libxml2.XPathParserContext | |
XPathNotEqualValues
()
:
Number
Returns 0 or 1 depending on the results of the test.
Returns 0 or 1 depending on the results of the test.
|
libxml2.XPathParserContext | |
XPathNotFunction
(Number nargs)
:
none
Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.
Implement the not() XPath function boolean not(boolean) The not function returns true if its argument is false, and false otherwise.
|
libxml2.XPathParserContext | |
XPathNumberFunction
(Number nargs)
:
none
Implement the number() XPath function number number(object?)
Implement the number() XPath function number number(object?)
|
libxml2.XPathParserContext | |
XPathParseNCName
()
:
Number
parse an XML namespace non qualified name.
parse an XML namespace non qualified name. [NS 3] NCName ::= (Letter | '_') (NCNameChar)* [NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' | CombiningChar | Extender Returns the namespace name or NULL
|
libxml2.XPathParserContext | |
XPathParseName
()
:
Number
parse an XML name [4] NameChar ::= Letter | Digit | '.
parse an XML name [4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' | CombiningChar | Extender [5] Name ::= (Letter | '_' | ':') (NameChar)* Returns the namespace name or NULL
|
libxml2.XPathParserContext | |
XPathPopBoolean
()
:
Number
Pops a boolean from the stack, handling conversion if needed.
Pops a boolean from the stack, handling conversion if needed. Check error with xmlXPathCheckError. Returns the boolean
|
libxml2.XPathParserContext | |
XPathPopExternal
()
:
void*
Pops an external object from the stack, handling conversion if needed.
Pops an external object from the stack, handling conversion if needed. Check error with xmlXPathCheckError. Returns the object
|
libxml2.XPathParserContext | |
XPathPopNodeSet
()
:
libxml2.NodeSet
Pops a node-set from the stack, handling conversion if needed.
Pops a node-set from the stack, handling conversion if needed. Check error with xmlXPathCheckError. Returns the node-set
|
libxml2.XPathParserContext | |
XPathPopNumber
()
:
Number
Pops a number from the stack, handling conversion if needed.
Pops a number from the stack, handling conversion if needed. Check error with xmlXPathCheckError. Returns the number
|
libxml2.XPathParserContext | |
XPathPopString
()
:
Number
Pops a string from the stack, handling conversion if needed.
Pops a string from the stack, handling conversion if needed. Check error with xmlXPathCheckError. Returns the string
|
libxml2.XPathParserContext | |
XPathPositionFunction
(Number nargs)
:
none
Implement the position() XPath function number position() The position function returns the position of the context node in the context node list.
Implement the position() XPath function number position() The position function returns the position of the context node in the context node list. The first position is 1, and so the last position will be equal to last().
|
libxml2.XPathParserContext | |
XPathRoot
()
:
none
Initialize the context to the root of the document
Initialize the context to the root of the document
|
libxml2.XPathParserContext | |
XPathRoundFunction
(Number nargs)
:
none
Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer.
Implement the round() XPath function number round(number) The round function returns the number that is closest to the argument and that is an integer. If there are two such numbers, then the one that is even is returned.
|
libxml2.XPathParserContext | |
XPathStartsWithFunction
(Number nargs)
:
none
Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.
Implement the starts-with() XPath function boolean starts-with(string, string) The starts-with function returns true if the first argument string starts with the second argument string, and otherwise returns false.
|
libxml2.XPathParserContext | |
XPathStringFunction
(Number nargs)
:
none
Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order.
Implement the string() XPath function string string(object?) The string function converts an object to a string as follows: - A node-set is converted to a string by returning the value of the node in the node-set that is first in document order. If the node-set is empty, an empty string is returned. - A number is converted to a string as follows + NaN is converted to the string NaN + positive zero is converted to the string 0 + negative zero is converted to the string 0 + positive infinity is converted to the string Infinity + negative infinity is converted to the string -Infinity + if the number is an integer, the number is represented in decimal form as a Number with no decimal point and no leading zeros, preceded by a minus sign (-) if the number is negative + otherwise, the number is represented in decimal form as a Number including a decimal point with at least one digit before the decimal point and at least one digit after the decimal point, preceded by a minus sign (-) if the number is negative; there must be no leading zeros before the decimal point apart possibly from the one required digit immediately before the decimal point; beyond the one required digit after the decimal point there must be as many, but only as many, more digits as are needed to uniquely distinguish the number from all other IEEE 754 numeric values. - The boolean false value is converted to the string false. The boolean true value is converted to the string true. If the argument is omitted, it defaults to a node-set with the context node as its only member.
|
libxml2.XPathParserContext | |
XPathStringLengthFunction
(Number nargs)
:
none
Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]).
Implement the string-length() XPath function number string-length(string?) The string-length returns the number of characters in the string (see [3.6 Strings]). If the argument is omitted, it defaults to the context node converted to a string, in other words the value of the context node.
|
libxml2.XPathParserContext | |
XPathSubValues
()
:
none
Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
Implement the subtraction operation on XPath objects: The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
XPathSubstringAfterFunction
(Number nargs)
:
none
Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string.
Implement the substring-after() XPath function string substring-after(string, string) The substring-after function returns the substring of the first argument string that follows the first occurrence of the second argument string in the first argument string, or the empty stringi if the first argument string does not contain the second argument string. For example, substring-after("1999/04/01","/") returns 04/01, and substring-after("1999/04/01","19") returns 99/04/01.
|
libxml2.XPathParserContext | |
XPathSubstringBeforeFunction
(Number nargs)
:
none
Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string.
Implement the substring-before() XPath function string substring-before(string, string) The substring-before function returns the substring of the first argument string that precedes the first occurrence of the second argument string in the first argument string, or the empty string if the first argument string does not contain the second argument string. For example, substring-before("1999/04/01","/") returns 1999.
|
libxml2.XPathParserContext | |
XPathSubstringFunction
(Number nargs)
:
none
Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument.
Implement the substring() XPath function string substring(string, number, number?) The substring function returns the substring of the first argument starting at the position specified in the second argument with length specified in the third argument. For example, substring("12345",2,3) returns "234". If the third argument is not specified, it returns the substring starting at the position specified in the second argument and continuing to the end of the string. For example, substring("12345",2) returns "2345". More precisely, each character in the string (see [3.6 Strings]) is considered to have a of the second character is 2 and so on. The returned substring contains those characters for which the position of the character is greater than or equal to the second argument and, if the third argument is specified, less than the sum of the second and third arguments; the comparisons and addition used for the above follow the standard IEEE 754 rules. Thus: - substring("12345", 1.5, 2.6) returns "234" - substring("12345", 0, 3) returns "12" - substring("12345", 0 div 0, 3) returns "" - substring("12345", 1, 0 div 0) returns "" - substring("12345", -42, 1 div 0) returns "12345" - substring("12345", -1 div 0, 1 div 0) returns ""
|
libxml2.XPathParserContext | |
XPathSumFunction
(Number nargs)
:
none
Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.
Implement the sum() XPath function number sum(node-set) The sum function returns the sum of the values of the nodes in the argument node-set.
|
libxml2.XPathParserContext | |
XPathTranslateFunction
(Number nargs)
:
none
Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string.
Implement the translate() XPath function string translate(string, string, string) The translate function returns the first argument string with occurrences of characters in the second argument string replaced by the character at the corresponding position in the third argument string. For example, translate("bar","abc","ABC") returns the string BAr. If there is a character in the second argument string with no character at a corresponding position in the third argument string (because the second argument string is longer than the third argument string), then occurrences of that character in the first argument string are removed. For example, translate("--aaa--","abc-","ABC") returns "AAA". If a character occurs more than once in second argument string, then the first occurrence determines the replacement character. If the third argument string is longer than the second argument string, then excess characters are ignored.
|
libxml2.XPathParserContext | |
XPathTrueFunction
(Number nargs)
:
none
Implement the true() XPath function boolean true()
Implement the true() XPath function boolean true()
|
libxml2.XPathParserContext | |
XPathValueFlipSign
()
:
none
Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.
Implement the unary - operation on an XPath object The numeric operators convert their operands to numbers as if by calling the number function.
|
libxml2.XPathParserContext | |
libxml2.XPathParserContext | ||
XPtrEvalRangePredicate
()
:
none
[8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set
[8] Predicate ::= '[' PredicateExpr ']' [9] PredicateExpr ::= Expr Evaluate a predicate as in xmlXPathEvalPredicate() but for a Location Set instead of a node set
|
libxml2.XPathParserContext | |
XPtrRangeToFunction
(Number nargs)
:
none
Implement the range-to() XPointer function
Implement the range-to() XPointer function
|
libxml2.XPathParserContext | |
valuePop
()
:
libxml2.XPathObject
Pops the top XPath object from the value stack Returns the XPath object just removed
Pops the top XPath object from the value stack Returns the XPath object just removed
|
libxml2.XPathParserContext | |
valuePush
(XPathObject value)
:
Number
Pushes a new XPath object on top of the value stack returns the number of items on the value stack
Pushes a new XPath object on top of the value stack returns the number of items on the value stack
|
libxml2.XPathParserContext |
None |