Common Lisp Package: LIBXML2.HTML

README:

FUNCTION

Public

META-ENCODING (DOC)

Encoding definition lookup in the Meta tags

SETFMETA-ENCODING (ENCODING DOC)

Sets the current encoding in the Meta tags NOTE: this will not change the document content encoding, just the META flag associated.

Undocumented

HTML-P (DOC)

Private

CREATE-HTML-DOCUMENT (&KEY (URI http://www.w3.org/TR/REC-html40/loose.dtd) (EXTERNAL-ID -//W3C//DTD HTML 4.0 Transitional//EN))

Creates a new HTML document. Do not initialize the DTD if uri and external-id is nil. Params: uri: URI for the dtd, default - http://www.w3.org/TR/REC-html40/loose.dtd external-id: the external ID of the DTD Returns: a new document

Undocumented

%%HTMLDOCCONTENTDUMPOUTPUT (BUF CUR ENCODING)

%%HTMLDOCDUMPMEMORYFORMAT (CUR MEM SIZE FORMAT)

%%HTMLGETMETAENCODING (DOC)

%%HTMLNEWDOCNODTD (URI EXTERNAL-ID)

%%HTMLNODEDUMPOUTPUT (BUF DOC NODE ENCODING)

%%HTMLREADDOC (CUR BASE-URL ENCODING OPTIONS)

%%HTMLREADFILE (FILENAME ENCODING OPTIONS)

%%HTMLREADIO (IOREAD IOCLOSE IOCTX URL ENCODING OPTIONS)

%%HTMLSAVEFILEENC (FILENAME DOC ENCODING)

%%HTMLSETMETAENCODING (DOC ENCODING)

%HTMLDOCCONTENTDUMPOUTPUT (BUF CUR ENCODING)

%HTMLDOCDUMPMEMORYFORMAT (CUR MEM SIZE FORMAT)

%HTMLGETMETAENCODING (DOC)

%HTMLNEWDOCNODTD (URI EXTERNAL-ID)

%HTMLNODEDUMPOUTPUT (BUF DOC NODE ENCODING)

%HTMLREADDOC (CUR BASE-URL ENCODING OPTIONS)

%HTMLREADFILE (FILENAME ENCODING OPTIONS)

%HTMLREADIO (IOREAD IOCLOSE IOCTX URL ENCODING OPTIONS)

%HTMLSAVEFILEENC (FILENAME DOC ENCODING)

%HTMLSETMETAENCODING (DOC ENCODING)

MACRO

Public

Undocumented

WITH-PARSE-HTML ((VAR SRC &REST KEYS &KEY &ALLOW-OTHER-KEYS) &BODY BODY)

WITH-PARSE-HTML-FRAGMENT ((VAR SRC) &BODY BODY)

GENERIC-FUNCTION

Public

PARSE-HTML (OBJ &KEY ENCODING &ALLOW-OTHER-KEYS)

parse html

PARSE-HTML-FRAGMENT (HTML)

Parse HTML to document fragment

Undocumented

SERIALIZE-HTML (OBJ TARGET)