OLD | NEW |
1 <!-- http://mail.python.org/pipermail/xml-sig/2003-February/009070.html --> | 1 <!-- http://mail.python.org/pipermail/xml-sig/2003-February/009070.html --> |
2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 2 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
3 <html> | 3 <html> |
4 <head> | 4 <head> |
5 <script src="../../../js/resources/js-test-pre.js"></script> | 5 <script src="../../../js/resources/js-test-pre.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 | 9 |
10 <script> | 10 <script> |
(...skipping 28 matching lines...) Expand all Loading... |
39 | 39 |
40 expr = '/alpha/beta[@no = "a"]' | 40 expr = '/alpha/beta[@no = "a"]' |
41 nodeset = doc.evaluate(expr, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_
TYPE, null); | 41 nodeset = doc.evaluate(expr, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_
TYPE, null); |
42 shouldBe('nodeset.snapshotLength', '1') | 42 shouldBe('nodeset.snapshotLength', '1') |
43 | 43 |
44 expr = '/alpha/beta[@no = 1]' | 44 expr = '/alpha/beta[@no = 1]' |
45 nodeset = doc.evaluate(expr, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_
TYPE, null); | 45 nodeset = doc.evaluate(expr, doc, null, XPathResult.UNORDERED_NODE_SNAPSHOT_
TYPE, null); |
46 shouldBe('nodeset.snapshotLength', '0') | 46 shouldBe('nodeset.snapshotLength', '0') |
47 | 47 |
48 </script> | 48 </script> |
49 <script src="../../../js/resources/js-test-post.js"></script> | |
50 </body> | 49 </body> |
51 </html> | 50 </html> |
OLD | NEW |