Lines Matching refs:xRoot

2281         XElement xRoot = xDoc.createElement("root");  in testXNodeList_ChildList()  local
2286 xDoc.appendChild(xRoot); in testXNodeList_ChildList()
2288 XNodeList xChildList = xRoot.getChildNodes(); in testXNodeList_ChildList()
2296 xRoot.appendChild(xFoo); in testXNodeList_ChildList()
2300 xRoot.appendChild(xBar); in testXNodeList_ChildList()
2305 xRoot.appendChild(xBaz); in testXNodeList_ChildList()
2311 xRoot.removeChild(xBar); in testXNodeList_ChildList()
2324 XElement xRoot = xDoc.createElement("root"); in testXNodeList_ElementList() local
2330 xDoc.appendChild(xRoot); in testXNodeList_ElementList()
2332 XNodeList xElementList = xRoot.getElementsByTagName("foo"); in testXNodeList_ElementList()
2340 xRoot.appendChild(xFoo1); in testXNodeList_ElementList()
2348 xRoot.appendChild(xFoo3); in testXNodeList_ElementList()
2359 xRoot.removeChild(xFoo1); in testXNodeList_ElementList()
2459 XElement xRoot = xDoc.createElement("root"); in testXXPathAPI() local
2466 xDoc.appendChild(xRoot); in testXXPathAPI()
2467 xRoot.appendChild(xFoo1); in testXXPathAPI()
2470 xRoot.appendChild(xFooNs); in testXXPathAPI()
2473 xXPathAPI.eval(xRoot, "~/-$+&#_"); in testXXPathAPI()
2477 xXPathAPI.evalNS(xRoot, "~/-$+&#_", xRoot); in testXXPathAPI()
2481 xXPathAPI.selectNodeList(xRoot, "~/-$+&#_"); in testXXPathAPI()
2485 xXPathAPI.selectNodeListNS(xRoot, "~/-$+&#_", xRoot); in testXXPathAPI()
2489 xXPathAPI.selectSingleNode(xRoot, "~/-$+&#_"); in testXXPathAPI()
2493 xXPathAPI.selectSingleNodeNS(xRoot, "~/-$+&#_", xRoot); in testXXPathAPI()
2501 xXPathAPI.evalNS(null, "child::foo", xRoot); in testXXPathAPI()
2509 xXPathAPI.selectNodeListNS(null, "child::foo", xRoot); in testXXPathAPI()
2517 xXPathAPI.selectSingleNodeNS(null, "child::foo", xRoot); in testXXPathAPI()
2522 XXPathObject xResult = xXPathAPI.eval(xRoot, "count(child::foo)"); in testXXPathAPI()
2530 xXPathAPI.evalNS(xRoot, "count(//ns:foo)", xFooNs); in testXXPathAPI()
2537 XNodeList xResult = xXPathAPI.selectNodeList(xRoot, "child::foo"); in testXXPathAPI()
2544 xXPathAPI.selectNodeListNS(xRoot, ".//ns:foo", xFooNs); in testXXPathAPI()
2597 XElement xRoot = xDoc.createElement("root"); in testXXPathObject() local
2604 xDoc.appendChild(xRoot); in testXXPathObject()
2605 xRoot.appendChild(xFoo1); in testXXPathObject()
2608 xRoot.appendChild(xFooNs); in testXXPathObject()
2611 XXPathObject xResult = xXPathAPI.eval(xRoot, "count(//foo)"); in testXXPathObject()
2625 XXPathObject xResult = xXPathAPI.eval(xRoot, "count(//foo) = 2"); in testXXPathObject()
2633 XXPathObject xResult = xXPathAPI.eval(xRoot, "count(//foo) = 2"); in testXXPathObject()
2641 XXPathObject xResult = xXPathAPI.eval(xRoot, "local-name(foo)"); in testXXPathObject()
2648 XXPathObject xResult = xXPathAPI.eval(xRoot, "//foo"); in testXXPathObject()
2669 XElement xRoot = xDoc.createElement("root"); in testXNodeList_NodeList() local
2676 xDoc.appendChild(xRoot); in testXNodeList_NodeList()
2677 xRoot.appendChild(xFoo1); in testXNodeList_NodeList()
2680 xRoot.appendChild(xFooNs); in testXNodeList_NodeList()
2683 XXPathObject xResult = xXPathAPI.eval(xRoot, "//foo"); in testXNodeList_NodeList()