public static Cons PARSE_XML_FROM_STREAM(InputStream in, boolean skipFrontmatterP) {
    { Stella_Object item = null;
      XmlExpressionIterator ITER_000 = InputStream.xmlExpressions(in, null);

      while (ITER_000.nextP()) {
        item = ITER_000.value;
        if ((!skipFrontmatterP) ||
            ((Stella_Object.isaP(item, XmlObjects.SGT_STELLA_CONS) &&
            Stella_Object.isaP(((Cons)(item)).value, XmlObjects.SGT_STELLA_XML_ELEMENT)) ||
             (Stella_Object.isaP(item, XmlObjects.SGT_STELLA_CONS) &&
              Stella_Object.xmlCdataP(((Cons)(item)).value)))) {
          return (((Cons)(item)));
        }
      }
    }
    return (Stella.NIL);
  }