/* Clear (release owned resources) and reinitialize a parser context  */
void xmlClearParserCtxt(xmlParserCtxtPtr ctxt)
/* Clear (release owned resources) and reinitialize a parser context  */
void xmlClearParserCtxt(xmlParserCtxtPtr ctxt)
{
  if (ctxt==NULL)
    return;
  xmlClearNodeInfoSeq(&ctxt->node_seq);
  xmlCtxtReset(ctxt);
}