parser.h

Tipo de función attributeDeclSAXFunc

Se ha analizado una definición de atributo.

Sintaxis

/**
 * attributeDeclSAXFunc:
 * @ctx:  the user data (XML parser context)
 * @elem:  the name of the element
 * @fullname:  the attribute name
 * @type:  the attribute type
 * @def:  the type of default value
 * @defaultValue: the attribute default value
 * @tree:  the tree of enumerated value set
 *
 * An attribute definition has been parsed.
 */
typedef void (*attributeDeclSAXFunc)(
			void *ctx,
			const xmlChar *elem,
			const xmlChar *fullname,
			int type,
			int def,
			const xmlChar *defaultValue,
			xmlEnumerationPtr tree);

Parámetros

ctx
Los datos del usuario (contexto del analizador XML).
elem
El nombre del elemento.
fullname
El nombre del atributo.
type
Tipo del atributo.
def
El tipo de valor por defecto.
defaultValue
El valor por defecto del atributo.
tree
El árbol del conjunto de valores enumerados.