Home | History | Annotate | Download | only in xml

Lines Matching refs:select

109          * <context select="...">
119 String select = element.getAttribute("select");
120 Context context = new Context(inputSource, url, select);
152 final String select = element.getAttribute("select");
154 /* Such as <test exception="true" select="..." count="0"/> */
156 return new XPathTest(context, select) {
159 xpath.evaluate(select, contextNode);
167 /* a <test> with a nested <valueOf>, both of which have select attributes */
171 final String valueOfSelect = valueOf.getAttribute("select");
173 return new XPathTest(context, select) {
176 select, contextNode, XPathConstants.NODE);
183 /* Such as <test select="..." count="5"/> */
186 return new XPathTest(context, select) {
189 select, contextNode, XPathConstants.NODESET);
200 * tests select an expected text.
204 final String select = element.getAttribute("select");
205 return new XPathTest(context, select) {
208 xpath.evaluate(select, contextNode, XPathConstants.STRING));
220 private final String select;
222 Context(InputSource inputSource, String url, String select) {
225 this.select = select;
231 return (Node) xpath.evaluate(select, inputSource, XPathConstants.NODE);
240 return url + " " + select;
250 private final String select;
252 public XPathTest(Context context, String select) {
255 this.select = select;
278 return context + " " + select;