#include "libxml.h"
#include <string.h>
#include <libxml/xmlmemory.h>
#include <libxml/parserInternals.h>
#include <libxml/tree.h>
#include <libxml/xmlsave.h>
#include <libxml/HTMLtree.h>
#include "buf.h"
#include "enc.h"
#include "save.h"
Go to the source code of this file.
◆ IN_LIBXML
◆ MAX_INDENT
◆ XHTML_FRAME_PUBLIC_ID
Value:
"-//W3C//DTD XHTML 1.0 Frameset//EN"
Definition at line 35 of file xmlsave.c.
◆ XHTML_FRAME_SYSTEM_ID
Value:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
Definition at line 37 of file xmlsave.c.
◆ XHTML_NS_NAME
◆ XHTML_STRICT_PUBLIC_ID
#define XHTML_STRICT_PUBLIC_ID |
Value:
"-//W3C//DTD XHTML 1.0 Strict//EN"
Definition at line 31 of file xmlsave.c.
◆ XHTML_STRICT_SYSTEM_ID
#define XHTML_STRICT_SYSTEM_ID |
Value:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
Definition at line 33 of file xmlsave.c.
◆ XHTML_TRANS_PUBLIC_ID
Value:
"-//W3C//DTD XHTML 1.0 Transitional//EN"
Definition at line 39 of file xmlsave.c.
◆ XHTML_TRANS_SYSTEM_ID
Value:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
Definition at line 41 of file xmlsave.c.
◆ xmlIsXHTML()
xmlIsXHTML: @systemID: the system identifier @publicID: the public identifier
Try to find if the document correspond to an XHTML DTD
Returns 1 if true, 0 if not and -1 in case of error
Definition at line 55 of file xmlsave.c.
55 {
56 if ((systemID ==
NULL) && (publicID ==
NULL))
57 return(-1);
58 if (publicID !=
NULL) {
62 }
63 if (systemID !=
NULL) {
67 }
68 return(0);
69}
#define XHTML_TRANS_PUBLIC_ID
#define XHTML_FRAME_SYSTEM_ID
#define XHTML_STRICT_SYSTEM_ID
#define XHTML_FRAME_PUBLIC_ID
#define XHTML_TRANS_SYSTEM_ID
#define XHTML_STRICT_PUBLIC_ID
XMLPUBFUN int XMLCALL xmlStrEqual(const xmlChar *str1, const xmlChar *str2)