XmlNodeExtensions extension

on
  • XmlNode

Methods

findAllElementsCDATA(String name, {String? namespace}) Iterable<String>
Finds the CDATA of the recursive child elements in document order with the name and namespace.
findAllElementsText(String name, {String? namespace}) Iterable<String>
Finds the text of the recursive child elements in document order with the name and namespace.
findElementsCDATA(String name, {String? namespace}) Iterable<String>
Finds the CDATA of the direct child elements in document order with the name and namespace.
findElementsText(String name, {String? namespace}) Iterable<String>
Finds the text of the direct child elements in document order with the name and namespace.
getCDATA() String?
Gets the CDATA or null if there are no XmlCDATA children.
getElementCDATA(String name, {String? namespace}) String?
Gets the CDATA of the first child element with the name and namespace or null if there are no XmlCDATA children.
getElements(String name, {String? namespace}) Iterable<XmlElement>?
Gets the direct child elements in document order with the specified tag name and namespace or null if there are no matching elements.
getElementText(String name, {String? namespace}) String?
Gets the text of the first child element with the name and namespace or null if there are no XmlText children.
getText() String?
Gets the text or null if there are no XmlText children.