objectPropertyElems function

List<XmlElement> objectPropertyElems(
  1. XmlElement objElem,
  2. String property
)

Implementation

List<XmlElement> objectPropertyElems(XmlElement objElem, String property) {
  try{
    var propelem = objElem.findElements(property).first;
    if(propelem!=null) {
      return childElements(propelem);
    }
  }catch(Exception){}
  return List();
}