code: public void parseString(String xml) throws ParserException {
  
          try {
              nanoElement.parseString(xml);
          } catch (XMLParseException e) {
              throw new ParserException(e.getMessage());
          }
      }
docs: Parse a XML string.
  
  @param xml The XML string.
  
  @throws ParserException
  If an error is occurred while i/o processing or parsing the
  read data.