firstXPath method
Implementation
XmlElement? firstXPath(String xpath) {
List<XmlElement> elements = _xpathString(xpath, onlyFirst: true);
return (elements.isEmpty) ? null : elements.first;
}
XmlElement? firstXPath(String xpath) {
List<XmlElement> elements = _xpathString(xpath, onlyFirst: true);
return (elements.isEmpty) ? null : elements.first;
}