MCPcopy Create free account
hub / github.com/Kitware/VTK / htmlNewDoc

Function htmlNewDoc

ThirdParty/libxml2/vtklibxml2/HTMLparser.c:2395–2403  ·  view source on GitHub ↗

* htmlNewDoc: * @URI: URI for the dtd, or NULL * @ExternalID: the external ID of the DTD, or NULL * * Creates a new HTML document * * Returns a new document */

Source from the content-addressed store, hash-verified

2393 * Returns a new document
2394 */
2395htmlDocPtr
2396htmlNewDoc(const xmlChar *URI, const xmlChar *ExternalID) {
2397 if ((URI == NULL) && (ExternalID == NULL))
2398 return(htmlNewDocNoDtD(
2399 BAD_CAST "http://www.w3.org/TR/REC-html40/loose.dtd",
2400 BAD_CAST "-//W3C//DTD HTML 4.0 Transitional//EN"));
2401
2402 return(htmlNewDocNoDtD(URI, ExternalID));
2403}
2404
2405
2406/************************************************************************

Callers

nothing calls this directly

Calls 1

htmlNewDocNoDtDFunction · 0.85

Tested by

no test coverage detected