Home
last modified time | relevance | path

Searched refs:xpathEval (Results 1 – 18 of 18) sorted by relevance

/external/libxml2/
Dgentest.py517 args = ctxt.xpathEval("/api/symbols/function/arg")
519 mod = arg.xpathEval('string(../@file)')
520 func = arg.xpathEval('string(../@name)')
522 type = arg.xpathEval('string(@type)')
528 rets = ctxt.xpathEval("/api/symbols/function/return")
530 mod = ret.xpathEval('string(../@file)')
531 func = ret.xpathEval('string(../@name)')
533 type = ret.xpathEval('string(@type)')
541 enums = ctxt.xpathEval("/api/symbols/typedef[@type='enum']")
543 module = enum.xpathEval('string(@file)')
[all …]
Dcheck-xsddata-test-suite.py262 dirs = node.xpathEval('dir')
265 res = node.xpathEval('resource')
277 sections = node.xpathEval('string(section)')
285 dirs = node.xpathEval('dir')
288 res = node.xpathEval('resource')
292 tsts = node.xpathEval('incorrect')
298 tsts = node.xpathEval('correct')
308 valids = node.xpathEval('valid')
309 invalids = node.xpathEval('invalid')
332 docs = node.xpathEval('documentation')
[all …]
Dcheck-relaxng-test-suite.py250 dirs = node.xpathEval('dir')
253 res = node.xpathEval('resource')
265 sections = node.xpathEval('string(section)')
273 dirs = node.xpathEval('dir')
276 res = node.xpathEval('resource')
280 tsts = node.xpathEval('incorrect')
286 tsts = node.xpathEval('correct')
296 valids = node.xpathEval('valid')
297 invalids = node.xpathEval('invalid')
321 docs = node.xpathEval('documentation')
[all …]
Dcheck-relaxng-test-suite2.py264 dirs = node.xpathEval('dir')
267 res = node.xpathEval('resource')
279 sections = node.xpathEval('string(section)')
287 dirs = node.xpathEval('dir')
290 res = node.xpathEval('resource')
294 tsts = node.xpathEval('incorrect')
300 tsts = node.xpathEval('correct')
310 valids = node.xpathEval('valid')
311 invalids = node.xpathEval('invalid')
334 docs = node.xpathEval('documentation')
[all …]
Dcheck-xinclude-test-suite.py88 output = test.xpathEval('string(output)')
DChangeLog14066 xpathEval() onto node objects
/external/libxml2/python/tests/
Dxpath.py18 res = ctxt.xpathEval("//*")
26 res = ctxt.xpathEval("foo")
39 res = ctxt.xpathEval("//*")
Dxpathext.py16 res = ctxt.xpathEval("//*")
28 res = ctxt.xpathEval("foo(1)")
35 res = ctxt.xpathEval("bar(1)")
Dtstxpath.py26 res = ctxt.xpathEval("//*")
37 res = ctxt.xpathEval("foo(1)")
44 res = ctxt.xpathEval("bar(1)")
Dxpathns.py12 for n in d.xpathEval("//namespace::*"):
Dcutnpaste.py23 fragment = source.xpathEval("//*[name()='fragment']")[0]
Dreader5.py24 if node.xpathEval("@id = 'Aho'"): # use XPath on it
Dxpathleak.py34 ctxt.xpathEval(expr)
Dxpathret.py28 res = ctxt.xpathEval("foo('hello')")
/external/libxml2/xstc/
Dfixup-tests.py46 xpres = xpmainCtx.xpathEval("/xs:schema")
53 xpres = xpmainCtx.xpathEval("/xs:schema/xs:import")
71 xpres = xpimpCtx.xpathEval("/xs:schema")
/external/libxml2/doc/examples/
Dindex.py49 res = ctxt.xpathEval("/api/symbols/*[@name = '%s']" % (name))
55 file = node.xpathEval("string(@file)")
56 info = node.xpathEval("string(info)")
/external/libxml2/python/
Dlibxml.py458 def xpathEval(self, expr): member in xmlCore
464 res = ctxt.xpathEval(expr)
486 return self.xpathEval(expr)
/external/libxml2/doc/
Dindex.py989 res = ctxt.xpathEval("//head/title")
995 items = ctxt.xpathEval("//h1 | //h2 | //h3 | //text()")
1083 texts = ctxt.xpathEval("//pre//text()")
1104 anchors = ctxt.xpathEval("//a[@href]")