numbersInternals: Implementation of the XSLT number functions

## numbersInternals

numbersInternals - Implementation of the XSLT number functions

Implementation of the XSLT number functions

Author(s): Bjorn Reese <breese@users.sourceforge.net> and Daniel Veillard

## Synopsis

    typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo;
    typedef struct _xsltNumberData xsltNumberData;
    typedef xsltNumberData * xsltNumberDataPtr;
    typedef xsltFormatNumberInfo * xsltFormatNumberInfoPtr;

## Description

## Details

### Structure xsltFormatNumberInfo

    struct _xsltFormatNumberInfo {
        int	integer_hash	: Number of '#' in integer part
        int	integer_digits	: Number of '0' in integer part
        int	frac_digits	: Number of '0' in fractional part
        int	frac_hash	: Number of '#' in fractional part
        int	group	: Number of chars per display 'group'
        int	multiplier	: Scaling for percent or permille
        char	add_decimal	: Flag for whether decimal point appears in pattern
        char	is_multiplier_set	: Flag to catch multiple occurences of percent/permille
        char	is_negative_pattern	: Flag for processing -ve prefix/suffix
    } xsltFormatNumberInfo;

### Typedef xsltFormatNumberInfoPtr

    xsltFormatNumberInfo * xsltFormatNumberInfoPtr;

### Structure xsltNumberData

    struct _xsltNumberData {
        const xmlChar *	level
        const xmlChar *	count
        const xmlChar *	from
        const xmlChar *	value
        const xmlChar *	format
        int	has_format
        int	digitsPerGroup
        int	groupingCharacter
        int	groupingCharacterLen
        xmlDocPtr	doc
        xmlNodePtr	node
        struct _xsltCompMatch *	countPat
        struct _xsltCompMatch *	fromPat	: * accelerators *
    } xsltNumberData;

### Typedef xsltNumberDataPtr

    xsltNumberData * xsltNumberDataPtr;