/* Returns 1 if true, 0 if not and -1 in case of error  */
int xmlIsXHTML(const xmlChar *systemID, const xmlChar *publicID)
/* Returns 1 if true, 0 if not and -1 in case of error  */
int xmlIsXHTML(const xmlChar *systemID, const xmlChar *publicID)
{
	if (xmlStrEqual(publicID, XHTML_STRICT_PUBLIC_ID)) return(1);
	if (xmlStrEqual(publicID, XHTML_FRAME_PUBLIC_ID)) return(1);
	if (xmlStrEqual(publicID, XHTML_TRANS_PUBLIC_ID)) return(1);
    }
    if (systemID != NULL) {
	if (xmlStrEqual(systemID, XHTML_STRICT_SYSTEM_ID)) return(1);
	if (xmlStrEqual(systemID, XHTML_FRAME_SYSTEM_ID)) return(1);
	if (xmlStrEqual(systemID, XHTML_TRANS_SYSTEM_ID)) return(1);
    }
    return(0);
}