- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for childNodes (0.18 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/XmlSpecification.groovy
target.append(" $attr.name=\"$attr.value\"") } element.childNodes.findAll { it instanceof Text }.each { assert it.textContent != null : "Found null text element in <$element.tagName>" } List<Node> trimmedContent = element.childNodes.collect { it }; boolean inlineContent = trimmedContent.find { it instanceof Text && it.textContent.trim() }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 4.1K bytes - Viewed (0)