return new SimpleXMLElementValue(data, className, options);
DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); try {  DocumentBuilder builder = factory.newDocumentBuilder(); Document document = builder.parse(new ByteArrayInputStream(data.getBytes())); return new SimpleXMLElementClass(document.getDocumentElement());  } catch (Exception e) { log.log(Level.FINE, L.l(e.toString()), e); return NullValue.NULL; }
  public SimpleXMLElementValue simplexml_load_string(Env env,                                                     @NotNull String data,                                                     @Optional String className,                                                     @Optional int options)  {     return new SimpleXMLElementValue(data, className, options);  }