public void outputExampleXML(PrintWriter writer,XMLObjectParser parser){
  writer.println("<pre>");
  if (parser.hasExample()) {
    outputHTMLSafeText(writer,parser.getExample());
  }
 else {
    outputExampleXML(writer,parser,0);
  }
  writer.println("</pre>");
}

public void outputExampleXML ( PrintWriter writer , XMLObjectParser parser ) { writer . println ( "<pre>" ) ; if ( parser . hasExample ( ) ) { outputHTMLSafeText ( writer , parser . getExample ( ) ) ; } else { outputExampleXML ( writer , parser , 0 ) ; } writer . println ( "</pre>" ) ; }
outputs an example of a particular element , using the syntax information .
