Xiqual 0.9.1

In file ../xitools/xmlread.c:

int* xml_addgenentityhook

(xmldoc* doc, int* func)

Add a generic hook function for all escaped entities.

Documentation

Add a generic hook function for all escaped entities. This is a generic variant of the xml_addentityhook() function. If you use this function, xixml will only use the hook you specify when it can't recognise an entity. In other words, any hooks created without xml_addentityhook() are invalidated.

The function you pass must return a pointer to the string to output instead of the encoded entity, as usual. The first argument is also a pointer to the first character after the ampersand.

Parameters:
func - Your hook function.
Returns:
0 if no error occurred allocating a node to hold your function
Author:
Ronny Bangsund

Alphabetic index



This page was generated with the help of DOC++.