Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for selectNodeList (0.51 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/HtmlXpathExtractor.java

                parser.parse(inputSource);
                final Document document = parser.getDocument();
    
                final StringBuilder buf = new StringBuilder(255);
                final XPathNodes nodeList = getXPathAPI().selectNodeList(document, targetNodePath);
                for (int i = 0; i < nodeList.size(); i++) {
                    final Node node = nodeList.get(i);
                    buf.append(node.getTextContent()).append(' ');
                }
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

         * @return the base href URL, or null if not found
         */
        protected String getBaseHref(final Document document) {
            try {
                final XPathNodes list = getXPathAPI().selectNodeList(document, "//BASE");
                if (list.size() > 0) {
                    final Node node = list.get(0);
                    final Node attrNode = node.getAttributes().getNamedItem("href");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top