#

## Module chvalid from libxml2

API Menu

- Main Menu
- Developer Menu
- Code Examples
- API Menu
- Parser API
- Tree API
- Reader API
- XML Guidelines
- ChangeLog

API Indexes

- Alphabetic
- Constructors
- Functions/Types
- Modules
- Symbols

Related links

- Mail archive
- XSLT libxslt
- DOM gdome2
- XML-DSig xmlsec
- FTP
- Windows binaries
- Solaris binaries
- MacOsX binaries
- Pascal bindings
- Bug Tracker

this module exports interfaces for the character range validation APIs This file is automatically generated from the cvs source definition files using the genChRanges.py Python script

## Table of Contents

    #define xmlIsBaseCharQ

    #define xmlIsBaseChar_ch

    #define xmlIsBlankQ

    #define xmlIsBlank_ch

    #define xmlIsCharQ

    #define xmlIsChar_ch

    #define xmlIsCombiningQ

    #define xmlIsDigitQ

    #define xmlIsDigit_ch

    #define xmlIsExtenderQ

    #define xmlIsExtender_ch

    #define xmlIsIdeographicQ

    #define xmlIsPubidCharQ

    #define xmlIsPubidChar_ch

    Structure xmlChLRange
    struct _xmlChLRange

    Typedef xmlChLRange * xmlChLRangePtr

    Structure xmlChRangeGroup
    struct _xmlChRangeGroup

    Typedef xmlChRangeGroup * xmlChRangeGroupPtr

    Structure xmlChSRange
    struct _xmlChSRange

    Typedef xmlChSRange * xmlChSRangePtr

    int	xmlCharInRange			(unsigned int val,
    					 const xmlChRangeGroupPtr rptr)

    int	xmlIsBaseChar			(unsigned int ch)

    int	xmlIsBlank			(unsigned int ch)

    int	xmlIsChar			(unsigned int ch)

    int	xmlIsCombining			(unsigned int ch)

    int	xmlIsDigit			(unsigned int ch)

    int	xmlIsExtender			(unsigned int ch)

    int	xmlIsIdeographic		(unsigned int ch)

    int	xmlIsPubidChar			(unsigned int ch)

## Description

### Macro: xmlIsBaseCharQ

    #define xmlIsBaseCharQ

Automatically generated by genChRanges.py

### Macro: xmlIsBaseChar_ch

    #define xmlIsBaseChar_ch

Automatically generated by genChRanges.py

### Macro: xmlIsBlankQ

    #define xmlIsBlankQ

Automatically generated by genChRanges.py

### Macro: xmlIsBlank_ch

    #define xmlIsBlank_ch

Automatically generated by genChRanges.py

### Macro: xmlIsCharQ

    #define xmlIsCharQ

Automatically generated by genChRanges.py

### Macro: xmlIsChar_ch

    #define xmlIsChar_ch

Automatically generated by genChRanges.py

### Macro: xmlIsCombiningQ

    #define xmlIsCombiningQ

Automatically generated by genChRanges.py

### Macro: xmlIsDigitQ

    #define xmlIsDigitQ

Automatically generated by genChRanges.py

### Macro: xmlIsDigit_ch

    #define xmlIsDigit_ch

Automatically generated by genChRanges.py

### Macro: xmlIsExtenderQ

    #define xmlIsExtenderQ

Automatically generated by genChRanges.py

### Macro: xmlIsExtender_ch

    #define xmlIsExtender_ch

Automatically generated by genChRanges.py

### Macro: xmlIsIdeographicQ

    #define xmlIsIdeographicQ

Automatically generated by genChRanges.py

### Macro: xmlIsPubidCharQ

    #define xmlIsPubidCharQ

Automatically generated by genChRanges.py

### Macro: xmlIsPubidChar_ch

    #define xmlIsPubidChar_ch

Automatically generated by genChRanges.py

### Structure xmlChLRange

    Structure xmlChLRange
    struct _xmlChLRange {
        unsigned int	low
        unsigned int	high
    }

### Structure xmlChRangeGroup

    Structure xmlChRangeGroup
    struct _xmlChRangeGroup {
        int	nbShortRange
        int	nbLongRange
        xmlChSRangePtr	shortRange	: points to an array of ranges
        xmlChLRangePtr	longRange
    }

### Structure xmlChSRange

    Structure xmlChSRange
    struct _xmlChSRange {
        unsigned short	low
        unsigned short	high
    }

### Function: xmlCharInRange

    int	xmlCharInRange			(unsigned int val,
    					 const xmlChRangeGroupPtr rptr)

Does a binary search of the range table to determine if char is valid

`val`: | character to be validated
`rptr`: | pointer to range to be used to validate
`Returns`: | true if character valid, false otherwise

### Function: xmlIsBaseChar

    int	xmlIsBaseChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsBaseChar_ch or xmlIsBaseCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsBlank

    int	xmlIsBlank			(unsigned int ch)

This function is DEPRECATED. Use xmlIsBlank_ch or xmlIsBlankQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsChar

    int	xmlIsChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsChar_ch or xmlIsCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsCombining

    int	xmlIsCombining			(unsigned int ch)

This function is DEPRECATED. Use xmlIsCombiningQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsDigit

    int	xmlIsDigit			(unsigned int ch)

This function is DEPRECATED. Use xmlIsDigit_ch or xmlIsDigitQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsExtender

    int	xmlIsExtender			(unsigned int ch)

This function is DEPRECATED. Use xmlIsExtender_ch or xmlIsExtenderQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsIdeographic

    int	xmlIsIdeographic		(unsigned int ch)

This function is DEPRECATED. Use xmlIsIdeographicQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

### Function: xmlIsPubidChar

    int	xmlIsPubidChar			(unsigned int ch)

This function is DEPRECATED. Use xmlIsPubidChar_ch or xmlIsPubidCharQ instead

`ch`: | character to validate
`Returns`: | true if argument valid, false otherwise

Daniel Veillard