get static method
Gets the value of a attribute else a child element
Implementation
static String? get({XmlElement? node, String? tag})
{
String? v;
try
{
v ??= attribute(node: node!, tag: tag!);
v ??= element(node: node!, tag: tag!);
}
catch(e)
{
v = null;
Log().exception(e, caller: 'xml.dart => String get({XmlElement node, String tag})');
}
return v;
}