/* * Summary: Implementation of the XSLT number functions * Description: Implementation of the XSLT number functions * * Copy: See Copyright for the status of this software. * * Author: Bjorn Reese <breese@users.sourceforge.net> and Daniel Veillard */ #ifndef __XML_XSLT_NUMBERSINTERNALS_H__ #define __XML_XSLT_NUMBERSINTERNALS_H__ #include <libxml/tree.h> #include "xsltexports.h" #ifdef __cplusplus extern "C" { #endif struct _xsltCompMatch; /** * xsltNumberData: * * This data structure is just a wrapper to pass xsl:number data in. */ typedef struct _xsltNumberData xsltNumberData; typedef xsltNumberData *xsltNumberDataPtr; 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 */ }; /** * xsltFormatNumberInfo,: * * This data structure lists the various parameters needed to format numbers. */ typedef struct _xsltFormatNumberInfo xsltFormatNumberInfo; typedef xsltFormatNumberInfo *xsltFormatNumberInfoPtr; 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 */ }; #ifdef __cplusplus } #endif #endif /* __XML_XSLT_NUMBERSINTERNALS_H__ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
attributes.h | File | 930 B | 0644 |
|
documents.h | File | 2.64 KB | 0644 |
|
extensions.h | File | 6.74 KB | 0644 |
|
extra.h | File | 1.79 KB | 0644 |
|
functions.h | File | 1.96 KB | 0644 |
|
imports.h | File | 1.8 KB | 0644 |
|
keys.h | File | 1.13 KB | 0644 |
|
namespaces.h | File | 1.63 KB | 0644 |
|
numbersInternals.h | File | 1.97 KB | 0644 |
|
pattern.h | File | 1.95 KB | 0644 |
|
preproc.h | File | 892 B | 0644 |
|
security.h | File | 2.59 KB | 0644 |
|
templates.h | File | 2.21 KB | 0644 |
|
transform.h | File | 6.18 KB | 0644 |
|
variables.h | File | 2.53 KB | 0644 |
|
xslt.h | File | 1.92 KB | 0644 |
|
xsltInternals.h | File | 55.6 KB | 0644 |
|
xsltconfig.h | File | 3.32 KB | 0644 |
|
xsltexports.h | File | 3.35 KB | 0644 |
|
xsltlocale.h | File | 1.2 KB | 0644 |
|
xsltutils.h | File | 8.08 KB | 0644 |
|