astropy/utils/xml/src/iterparse.c
/*
 * Removes the namespace from an element or attribute name, that is,
 * remove everything before the first colon.  The namespace is not
 * needed to parse standards-compliant VOTable files.
 *
 * The returned pointer is an internal pointer to the buffer passed
 * in.
 */
Removes the namespace from an element or attribute name, that is,
remove everything before the first colon.  The namespace is not
needed to parse standards-compliant VOTable files.

The returned pointer is an internal pointer to the buffer passed
in.
Removes the namespace from an element or attribute name that is remove everything before the first colon . The namespace is not needed to parse standards - compliant VOTable files . The returned pointer is an internal pointer to the buffer passed in .
static const XML_Char *
remove_namespace(const XML_Char *name)
{
    const XML_Char*  name_start = NULL;
    for (name_start = name; *name_start != '\0'; ++name_start) {
        if (*name_start == ':') {
            break;
        }
    }
    if (*name_start == ':') {
        ++name_start;
    } else {
        name_start = name;
    }
    return name_start;
}
static const XML_Char * remove_namespace ( const XML_Char * name ) { const XML_Char * name_start = NULL ; for ( name_start = name ; * name_start != ' \0 ' ; ++ name_start ) { if ( * name_start == ' ' ) { break ; } } if ( * name_start == ' ' ) { ++ name_start ; } else { name_start = name ; } return name_start ; }
Removes the namespace from an element or attribute name, that is,
 remove everything before the first colon.
Removes the namespace from an element or attribute name that is remove everything before the first colon .
/* If there is a namespace specifier, just chop it off */