1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

integrated a couple of fixes and a new API function

* parser.c include/libxml/parserInternals.h tree.c: integrated
  a couple of fixes and a new API function xmlSetEntityReferenceFunc()
  from Keith Isdale and dedicated to xsldbg the XSLT debugger.
Daniel
This commit is contained in:
Daniel Veillard
2002-01-13 14:10:10 +00:00
parent db0eb8df5a
commit 8107a22f96
4 changed files with 78 additions and 4 deletions

View File

@@ -394,6 +394,18 @@ void xmlParserInputShrink (xmlParserInputPtr in);
void htmlInitAutoClose (void);
htmlParserCtxtPtr htmlCreateFileParserCtxt(const char *filename,
const char *encoding);
/*
* Specific function to keep track of entities references
* and used by the XSLT debugger
*/
typedef void (*xmlEntityReferenceFunc) (xmlEntityPtr ent,
xmlNodePtr firstNode,
xmlNodePtr lastNode);
void xmlSetEntityReferenceFunc (xmlEntityReferenceFunc func);
#endif
#ifdef __cplusplus
}