X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=phtml.htm;h=4a1608351a482875b41721bb48c89171f637f2ca;hb=7a3f6cd041edb5d596ffb20bfd626e844d98b538;hp=255dcf201ff014417a41489805c166ae6021195d;hpb=b5da6339c28ee272d0a32eb5c26a9f7446e71d9f;p=xmlutils.git diff --git a/phtml.htm b/phtml.htm index 255dcf2..4a16083 100644 --- a/phtml.htm +++ b/phtml.htm @@ -180,7 +180,7 @@ parse-html [Generic function]

Arguments: input-source &key callbacks callback-only
            collect-rogue-tags -no-body-tags
+no-body-tags parse-entities

Returns LHTML output, as described above.

@@ -209,21 +209,24 @@ The no-body-tags argument, if non-nil, should be a list containing unknown tags encountered, will be treated as a tag with no body or content, and thus, no associated end
tag. Typically, the argument is a list or modified list resulting from an earlier parse-html
-execution with the :collect-rogue-tags argument specified as non-nil.
+execution with the :collect-rogue-tags argument specified as non-nil.

+ +

If the parse-entities argument is true then entities are converted to the character +they name.  Thus for example the < entity is converted to the less than sign.

parse-html Methods

parse-html (p stream) &key callbacks callback-only
            collect-rogue-tags -no-body-tags
+no-body-tags parse-entities

parse-html (str string) &key callbacks callback-only
            collect-rogue-tags -no-body-tags
+no-body-tags parse-entities

parse-html (file t) &key callbacks callback-only
            collect-rogue-tags -no-body-tags
+no-body-tags parse-entities

The t method assumes the argument is a pathname suitable
for use with the with-open-file macro.
@@ -232,7 +235,7 @@ for use with the with-open-file macro.
phtml-internal [Function]

Arguments: stream read-sequence-func callback-only callbacks
-collect-rogue-tags no-body-tags
+collect-rogue-tags no-body-tags parse-entities

This function may be used when more control is needed for supplying
the HTML input. The read-sequence-func argument, if non-nil, should be a function