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
andnamespace
. -
findAllElementsText(
String name, {String? namespace}) → Iterable< String> -
Finds the text of the recursive child elements in document order with the
name
andnamespace
. -
findElementsCDATA(
String name, {String? namespace}) → Iterable< String> -
Finds the CDATA of the direct child elements in document order with the
name
andnamespace
. -
findElementsText(
String name, {String? namespace}) → Iterable< String> -
Finds the text of the direct child elements in document order with the
name
andnamespace
. -
getCDATA(
) → String? -
Gets the CDATA or
null
if there are noXmlCDATA
children. -
getElementCDATA(
String name, {String? namespace}) → String? -
Gets the CDATA of the first child element with the
name
andnamespace
ornull
if there are noXmlCDATA
children. -
getElements(
String name, {String? namespace}) → Iterable< XmlElement> ? -
Gets the direct child elements in document order with the specified tag
name
andnamespace
ornull
if there are no matching elements. -
getElementText(
String name, {String? namespace}) → String? -
Gets the text of the first child element with the
name
andnamespace
ornull
if there are noXmlText
children. -
getText(
) → String? -
Gets the text or
null
if there are noXmlText
children.