* 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 */
| 2393 | * Returns a new document |
| 2394 | */ |
| 2395 | htmlDocPtr |
| 2396 | htmlNewDoc(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 | /************************************************************************ |
nothing calls this directly
no test coverage detected