Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nextElementSibling (0.16 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/ReleaseNotesTransformer.java

            Element heading = document.body().select("h2").first();
    
            List<Element> inSection = new ArrayList<>();
            inSection.add(heading);
    
            Element next = heading.nextElementSibling();
            while (true) {
                if (next == null || next.tagName().equals("h2")) {
                    Element section = heading.before("<section class='topic'/>").previousElementSibling();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Apr 25 04:49:56 GMT 2024
    - 7.7K bytes
    - Viewed (0)
Back to top