plump

API Reference

plump

An XML / XHTML / HTML parser that aims to be as lenient as possible.

PLUMP-LEXER

  • Variable *STRING*
  • Variable *LENGTH*
  • Variable *INDEX*
  • Macro WITH-LEXER-ENVIRONMENT ((string) &body body)
  • Function CONSUME
  • Function ADVANCE
  • Function UNREAD
  • Function PEEK
  • Function ADVANCE-N (n)
  • Function UNREAD-N (n)
  • Function CONSUME-UNTIL (matcher)
  • Function MATCHER-CHARACTER (character)
  • Function MATCHER-STRING (string)
  • Function MATCHER-RANGE (from to)
  • Function MATCHER-FIND (list)
  • Function MATCHER-OR (&rest matchers)
  • Function MATCHER-AND (&rest matchers)
  • Function MATCHER-NOT (matcher)
  • Function MATCHER-NEXT (matcher)
  • Function MATCHER-PREV (matcher)
  • Macro MATCHER-ANY (&rest is)
  • Macro MAKE-MATCHER (form)
  • Macro DEFINE-MATCHER (name form)

PLUMP-DOM

  • Variable *ENTITY-MAP*
    (loop plump-dom::with plump-dom::table = (make-hash-table :test 'equal)
          plump-dom::for (plump-dom::key . plump-dom::val) plump-dom::in (append
                                                                          '(("quot"
                                                                             . #\")
                                                                            ("amp"
                                                                             . #\&)
                                                                            ("apos"
                                                                             . #\')
                                                                            ("lt"
                                                                             . #\<)
                                                                            ("gt"
                                                                             . #\>)
                                                                            ("nbsp"
                                                                             . #\ ))
                                                                          '(("iexcl"
                                                                             . #\inverted_exclamation_mark)
                                                                            ("cent"
                                                                             . #\cent_sign)
                                                                            ("pound"
                                                                             . #\pound_sign)
                                                                            ("curren"
                                                                             . #\currency_sign)
                                                                            ("yen"
                                                                             . #\yen_sign)
                                                                            ("brvbar"
                                                                             . #\broken_bar)
                                                                            ("sect"
                                                                             . #\section_sign)
                                                                            ("uml"
                                                                             . #\diaeresis)
                                                                            ("copy"
                                                                             . #\copyright_sign)
                                                                            ("ordf"
                                                                             . #\feminine_ordinal_indicator)
                                                                            ("laquo"
                                                                             . #\left-pointing_double_angle_quotation_mark)
                                                                            ("not"
                                                                             . #\not_sign)
                                                                            ("shy"
                                                                             . #\ )
                                                                            ("reg"
                                                                             . #\registered_sign)
                                                                            ("macr"
                                                                             . #\macron)
                                                                            ("deg"
                                                                             . #\degree_sign)
                                                                            ("plusmn"
                                                                             . #\plus-minus_sign)
                                                                            ("sup2"
                                                                             . #\superscript_two)
                                                                            ("sup3"
                                                                             . #\superscript_three)
                                                                            ("acute"
                                                                             . #\acute_accent)
                                                                            ("micro"
                                                                             . #\micro_sign)
                                                                            ("para"
                                                                             . #\pilcrow_sign)
                                                                            ("middot"
                                                                             . #\middle_dot)
                                                                            ("cedil"
                                                                             . #\cedilla)
                                                                            ("sup1"
                                                                             . #\superscript_one)
                                                                            ("ordm"
                                                                             . #\masculine_ordinal_indicator)
                                                                            ("raquo"
                                                                             . #\right-pointing_double_angle_quotation_mark)
                                                                            ("frac14"
                                                                             . #\vulgar_fraction_one_quarter)
                                                                            ("frac12"
                                                                             . #\vulgar_fraction_one_half)
                                                                            ("frac34"
                                                                             . #\vulgar_fraction_three_quarters)
                                                                            ("iquest"
                                                                             . #\inverted_question_mark)
                                                                            ("agrave"
                                                                             . #\latin_capital_letter_a_with_grave)
                                                                            ("aacute"
                                                                             . #\latin_capital_letter_a_with_acute)
                                                                            ("acirc"
                                                                             . #\latin_capital_letter_a_with_circumflex)
                                                                            ("atilde"
                                                                             . #\latin_capital_letter_a_with_tilde)
                                                                            ("auml"
                                                                             . #\latin_capital_letter_a_with_diaeresis)
                                                                            ("aring"
                                                                             . #\latin_capital_letter_a_with_ring_above)
                                                                            ("aelig"
                                                                             . #\latin_capital_letter_ae)
                                                                            ("ccedil"
                                                                             . #\latin_capital_letter_c_with_cedilla)
                                                                            ("egrave"
                                                                             . #\latin_capital_letter_e_with_grave)
                                                                            ("eacute"
                                                                             . #\latin_capital_letter_e_with_acute)
                                                                            ("ecirc"
                                                                             . #\latin_capital_letter_e_with_circumflex)
                                                                            ("euml"
                                                                             . #\latin_capital_letter_e_with_diaeresis)
                                                                            ("igrave"
                                                                             . #\latin_capital_letter_i_with_grave)
                                                                            ("iacute"
                                                                             . #\latin_capital_letter_i_with_acute)
                                                                            ("icirc"
                                                                             . #\latin_capital_letter_i_with_circumflex)
                                                                            ("iuml"
                                                                             . #\latin_capital_letter_i_with_diaeresis)
                                                                            ("eth"
                                                                             . #\latin_capital_letter_eth)
                                                                            ("ntilde"
                                                                             . #\latin_capital_letter_n_with_tilde)
                                                                            ("ograve"
                                                                             . #\latin_capital_letter_o_with_grave)
                                                                            ("oacute"
                                                                             . #\latin_capital_letter_o_with_acute)
                                                                            ("ocirc"
                                                                             . #\latin_capital_letter_o_with_circumflex)
                                                                            ("otilde"
                                                                             . #\latin_capital_letter_o_with_tilde)
                                                                            ("ouml"
                                                                             . #\latin_capital_letter_o_with_diaeresis)
                                                                            ("times"
                                                                             . #\multiplication_sign)
                                                                            ("oslash"
                                                                             . #\latin_capital_letter_o_with_stroke)
                                                                            ("ugrave"
                                                                             . #\latin_capital_letter_u_with_grave)
                                                                            ("uacute"
                                                                             . #\latin_capital_letter_u_with_acute)
                                                                            ("ucirc"
                                                                             . #\latin_capital_letter_u_with_circumflex)
                                                                            ("uuml"
                                                                             . #\latin_capital_letter_u_with_diaeresis)
                                                                            ("yacute"
                                                                             . #\latin_capital_letter_y_with_acute)
                                                                            ("thorn"
                                                                             . #\latin_capital_letter_thorn)
                                                                            ("szlig"
                                                                             . #\latin_small_letter_sharp_s)
                                                                            ("agrave"
                                                                             . #\latin_small_letter_a_with_grave)
                                                                            ("aacute"
                                                                             . #\latin_small_letter_a_with_acute)
                                                                            ("acirc"
                                                                             . #\latin_small_letter_a_with_circumflex)
                                                                            ("atilde"
                                                                             . #\latin_small_letter_a_with_tilde)
                                                                            ("auml"
                                                                             . #\latin_small_letter_a_with_diaeresis)
                                                                            ("aring"
                                                                             . #\latin_small_letter_a_with_ring_above)
                                                                            ("aelig"
                                                                             . #\latin_small_letter_ae)
                                                                            ("ccedil"
                                                                             . #\latin_small_letter_c_with_cedilla)
                                                                            ("egrave"
                                                                             . #\latin_small_letter_e_with_grave)
                                                                            ("eacute"
                                                                             . #\latin_small_letter_e_with_acute)
                                                                            ("ecirc"
                                                                             . #\latin_small_letter_e_with_circumflex)
                                                                            ("euml"
                                                                             . #\latin_small_letter_e_with_diaeresis)
                                                                            ("igrave"
                                                                             . #\latin_small_letter_i_with_grave)
                                                                            ("iacute"
                                                                             . #\latin_small_letter_i_with_acute)
                                                                            ("icirc"
                                                                             . #\latin_small_letter_i_with_circumflex)
                                                                            ("iuml"
                                                                             . #\latin_small_letter_i_with_diaeresis)
                                                                            ("eth"
                                                                             . #\latin_small_letter_eth)
                                                                            ("ntilde"
                                                                             . #\latin_small_letter_n_with_tilde)
                                                                            ("ograve"
                                                                             . #\latin_small_letter_o_with_grave)
                                                                            ("oacute"
                                                                             . #\latin_small_letter_o_with_acute)
                                                                            ("ocirc"
                                                                             . #\latin_small_letter_o_with_circumflex)
                                                                            ("otilde"
                                                                             . #\latin_small_letter_o_with_tilde)
                                                                            ("ouml"
                                                                             . #\latin_small_letter_o_with_diaeresis)
                                                                            ("divide"
                                                                             . #\division_sign)
                                                                            ("oslash"
                                                                             . #\latin_small_letter_o_with_stroke)
                                                                            ("ugrave"
                                                                             . #\latin_small_letter_u_with_grave)
                                                                            ("uacute"
                                                                             . #\latin_small_letter_u_with_acute)
                                                                            ("ucirc"
                                                                             . #\latin_small_letter_u_with_circumflex)
                                                                            ("uuml"
                                                                             . #\latin_small_letter_u_with_diaeresis)
                                                                            ("yacute"
                                                                             . #\latin_small_letter_y_with_acute)
                                                                            ("thorn"
                                                                             . #\latin_small_letter_thorn)
                                                                            ("yuml"
                                                                             . #\latin_small_letter_y_with_diaeresis)
                                                                            ("oelig"
                                                                             . #\latin_capital_ligature_oe)
                                                                            ("oelig"
                                                                             . #\latin_small_ligature_oe)
                                                                            ("scaron"
                                                                             . #\latin_capital_letter_s_with_caron)
                                                                            ("scaron"
                                                                             . #\latin_small_letter_s_with_caron)
                                                                            ("yuml"
                                                                             . #\latin_capital_letter_y_with_diaeresis)
                                                                            ("fnof"
                                                                             . #\latin_small_letter_f_with_hook)
                                                                            ("circ"
                                                                             . #\modifier_letter_circumflex_accent)
                                                                            ("tilde"
                                                                             . #\small_tilde)
                                                                            ("alpha"
                                                                             . #\greek_capital_letter_alpha)
                                                                            ("beta"
                                                                             . #\greek_capital_letter_beta)
                                                                            ("gamma"
                                                                             . #\greek_capital_letter_gamma)
                                                                            ("delta"
                                                                             . #\greek_capital_letter_delta)
                                                                            ("epsilon"
                                                                             . #\greek_capital_letter_epsilon)
                                                                            ("zeta"
                                                                             . #\greek_capital_letter_zeta)
                                                                            ("eta"
                                                                             . #\greek_capital_letter_eta)
                                                                            ("theta"
                                                                             . #\greek_capital_letter_theta)
                                                                            ("iota"
                                                                             . #\greek_capital_letter_iota)
                                                                            ("kappa"
                                                                             . #\greek_capital_letter_kappa)
                                                                            ("lambda"
                                                                             . #\greek_capital_letter_lamda)
                                                                            ("mu"
                                                                             . #\greek_capital_letter_mu)
                                                                            ("nu"
                                                                             . #\greek_capital_letter_nu)
                                                                            ("xi"
                                                                             . #\greek_capital_letter_xi)
                                                                            ("omicron"
                                                                             . #\greek_capital_letter_omicron)
                                                                            ("pi"
                                                                             . #\greek_capital_letter_pi)
                                                                            ("rho"
                                                                             . #\greek_capital_letter_rho)
                                                                            ("sigma"
                                                                             . #\greek_capital_letter_sigma)
                                                                            ("tau"
                                                                             . #\greek_capital_letter_tau)
                                                                            ("upsilon"
                                                                             . #\greek_capital_letter_upsilon)
                                                                            ("phi"
                                                                             . #\greek_capital_letter_phi)
                                                                            ("chi"
                                                                             . #\greek_capital_letter_chi)
                                                                            ("psi"
                                                                             . #\greek_capital_letter_psi)
                                                                            ("omega"
                                                                             . #\greek_capital_letter_omega)
                                                                            ("alpha"
                                                                             . #\greek_small_letter_alpha)
                                                                            ("beta"
                                                                             . #\greek_small_letter_beta)
                                                                            ("gamma"
                                                                             . #\greek_small_letter_gamma)
                                                                            ("delta"
                                                                             . #\greek_small_letter_delta)
                                                                            ("epsilon"
                                                                             . #\greek_small_letter_epsilon)
                                                                            ("zeta"
                                                                             . #\greek_small_letter_zeta)
                                                                            ("eta"
                                                                             . #\greek_small_letter_eta)
                                                                            ("theta"
                                                                             . #\greek_small_letter_theta)
                                                                            ("iota"
                                                                             . #\greek_small_letter_iota)
                                                                            ("kappa"
                                                                             . #\greek_small_letter_kappa)
                                                                            ("lambda"
                                                                             . #\greek_small_letter_lamda)
                                                                            ("mu"
                                                                             . #\greek_small_letter_mu)
                                                                            ("nu"
                                                                             . #\greek_small_letter_nu)
                                                                            ("xi"
                                                                             . #\greek_small_letter_xi)
                                                                            ("omicron"
                                                                             . #\greek_small_letter_omicron)
                                                                            ("pi"
                                                                             . #\greek_small_letter_pi)
                                                                            ("rho"
                                                                             . #\greek_small_letter_rho)
                                                                            ("sigmaf"
                                                                             . #\greek_small_letter_final_sigma)
                                                                            ("sigma"
                                                                             . #\greek_small_letter_sigma)
                                                                            ("tau"
                                                                             . #\greek_small_letter_tau)
                                                                            ("upsilon"
                                                                             . #\greek_small_letter_upsilon)
                                                                            ("phi"
                                                                             . #\greek_small_letter_phi)
                                                                            ("chi"
                                                                             . #\greek_small_letter_chi)
                                                                            ("psi"
                                                                             . #\greek_small_letter_psi)
                                                                            ("omega"
                                                                             . #\greek_small_letter_omega)
                                                                            ("thetasym"
                                                                             . #\greek_theta_symbol)
                                                                            ("upsih"
                                                                             . #\greek_upsilon_with_hook_symbol)
                                                                            ("piv"
                                                                             . #\greek_pi_symbol)
                                                                            ("ensp"
                                                                             . #\en_space)
                                                                            ("emsp"
                                                                             . #\em_space)
                                                                            ("thinsp"
                                                                             . #\thin_space)
                                                                            ("zwnj"
                                                                             . #\ )
                                                                            ("zwj"
                                                                             . #\ )
                                                                            ("lrm"
                                                                             . #\ )
                                                                            ("rlm"
                                                                             . #\ )
                                                                            ("ndash"
                                                                             . #\en_dash)
                                                                            ("mdash"
                                                                             . #\em_dash)
                                                                            ("lsquo"
                                                                             . #\left_single_quotation_mark)
                                                                            ("rsquo"
                                                                             . #\right_single_quotation_mark)
                                                                            ("sbquo"
                                                                             . #\single_low-9_quotation_mark)
                                                                            ("ldquo"
                                                                             . #\left_double_quotation_mark)
                                                                            ("rdquo"
                                                                             . #\right_double_quotation_mark)
                                                                            ("bdquo"
                                                                             . #\double_low-9_quotation_mark)
                                                                            ("dagger"
                                                                             . #\dagger)
                                                                            ("dagger"
                                                                             . #\double_dagger)
                                                                            ("bull"
                                                                             . #\bullet)
                                                                            ("hellip"
                                                                             . #\horizontal_ellipsis)
                                                                            ("permil"
                                                                             . #\per_mille_sign)
                                                                            ("prime"
                                                                             . #\prime)
                                                                            ("prime"
                                                                             . #\double_prime)
                                                                            ("lsaquo"
                                                                             . #\single_left-pointing_angle_quotation_mark)
                                                                            ("rsaquo"
                                                                             . #\single_right-pointing_angle_quotation_mark)
                                                                            ("oline"
                                                                             . #\overline)
                                                                            ("frasl"
                                                                             . #\fraction_slash)
                                                                            ("euro"
                                                                             . #\euro_sign)
                                                                            ("image"
                                                                             . #\black-letter_capital_i)
                                                                            ("weierp"
                                                                             . #\script_capital_p)
                                                                            ("real"
                                                                             . #\black-letter_capital_r)
                                                                            ("trade"
                                                                             . #\trade_mark_sign)
                                                                            ("alefsym"
                                                                             . #\alef_symbol)
                                                                            ("larr"
                                                                             . #\leftwards_arrow)
                                                                            ("uarr"
                                                                             . #\upwards_arrow)
                                                                            ("rarr"
                                                                             . #\rightwards_arrow)
                                                                            ("darr"
                                                                             . #\downwards_arrow)
                                                                            ("harr"
                                                                             . #\left_right_arrow)
                                                                            ("crarr"
                                                                             . #\downwards_arrow_with_corner_leftwards)
                                                                            ("larr"
                                                                             . #\leftwards_double_arrow)
                                                                            ("uarr"
                                                                             . #\upwards_double_arrow)
                                                                            ("rarr"
                                                                             . #\rightwards_double_arrow)
                                                                            ("darr"
                                                                             . #\downwards_double_arrow)
                                                                            ("harr"
                                                                             . #\left_right_double_arrow)
                                                                            ("forall"
                                                                             . #\for_all)
                                                                            ("part"
                                                                             . #\partial_differential)
                                                                            ("exist"
                                                                             . #\there_exists)
                                                                            ("empty"
                                                                             . #\empty_set)
                                                                            ("nabla"
                                                                             . #\nabla)
                                                                            ("isin"
                                                                             . #\element_of)
                                                                            ("notin"
                                                                             . #\not_an_element_of)
                                                                            ("ni"
                                                                             . #\contains_as_member)
                                                                            ("prod"
                                                                             . #\n-ary_product)
                                                                            ("sum"
                                                                             . #\n-ary_summation)
                                                                            ("minus"
                                                                             . #\minus_sign)
                                                                            ("lowast"
                                                                             . #\asterisk_operator)
                                                                            ("radic"
                                                                             . #\square_root)
                                                                            ("prop"
                                                                             . #\proportional_to)
                                                                            ("infin"
                                                                             . #\infinity)
                                                                            ("ang"
                                                                             . #\angle)
                                                                            ("and"
                                                                             . #\logical_and)
                                                                            ("or"
                                                                             . #\logical_or)
                                                                            ("cap"
                                                                             . #\intersection)
                                                                            ("cup"
                                                                             . #\union)
                                                                            ("int"
                                                                             . #\integral)
                                                                            ("there4"
                                                                             . #\therefore)
                                                                            ("sim"
                                                                             . #\tilde_operator)
                                                                            ("cong"
                                                                             . #\approximately_equal_to)
                                                                            ("asymp"
                                                                             . #\almost_equal_to)
                                                                            ("ne"
                                                                             . #\not_equal_to)
                                                                            ("equiv"
                                                                             . #\identical_to)
                                                                            ("le"
                                                                             . #\less-than_or_equal_to)
                                                                            ("ge"
                                                                             . #\greater-than_or_equal_to)
                                                                            ("sub"
                                                                             . #\subset_of)
                                                                            ("sup"
                                                                             . #\superset_of)
                                                                            ("nsub"
                                                                             . #\not_a_subset_of)
                                                                            ("sube"
                                                                             . #\subset_of_or_equal_to)
                                                                            ("supe"
                                                                             . #\superset_of_or_equal_to)
                                                                            ("oplus"
                                                                             . #\circled_plus)
                                                                            ("otimes"
                                                                             . #\circled_times)
                                                                            ("perp"
                                                                             . #\up_tack)
                                                                            ("sdot"
                                                                             . #\dot_operator)
                                                                            ("vellip"
                                                                             . #\vertical_ellipsis)
                                                                            ("lceil"
                                                                             . #\left_ceiling)
                                                                            ("rceil"
                                                                             . #\right_ceiling)
                                                                            ("lfloor"
                                                                             . #\left_floor)
                                                                            ("rfloor"
                                                                             . #\right_floor)
                                                                            ("lang"
                                                                             . #\left-pointing_angle_bracket)
                                                                            ("rang"
                                                                             . #\right-pointing_angle_bracket)
                                                                            ("loz"
                                                                             . #\lozenge)
                                                                            ("spades"
                                                                             . #\black_spade_suit)
                                                                            ("clubs"
                                                                             . #\black_club_suit)
                                                                            ("hearts"
                                                                             . #\black_heart_suit)
                                                                            ("diams"
                                                                             . #\black_diamond_suit)))
          do (setf (gethash plump-dom::key plump-dom::table) plump-dom::val)
          plump-dom::finally (return plump-dom::table))
  • Function TRANSLATE-ENTITY (text &key (start 0) (end (length text)))
  • Function DECODE-ENTITIES (text &optional remove-invalid)
  • Function ALLOWED-CHAR-P (char)
  • Function DISCOURAGED-CHAR-P (char)
  • Condition INVALID-XML-CHARACTER  (ERROR)
  • Condition DISCOURAGED-XML-CHARACTER  (WARNING)
  • Function WRITE-ENCODE-CHAR (char stream)
  • Function ENCODE-ENTITIES (text &optional stream)
  • Class NODE
    No slots.
  • Class NESTING-NODE  (NODE)
    %CHILDREN   Accessor: CHILDREN
  • Class CHILD-NODE  (NODE)
    %PARENT   Accessor: PARENT
  • Class TEXTUAL-NODE  (NODE)
    %TEXT   Accessor: TEXT
  • Class ROOT  (NESTING-NODE)
    No slots.
  • Class TEXT-NODE  (CHILD-NODE, TEXTUAL-NODE)
    No slots.
  • Class COMMENT  (CHILD-NODE, TEXTUAL-NODE)
    No slots.
  • Class ELEMENT  (NESTING-NODE, CHILD-NODE)
    %TAG-NAME   Accessor: TAG-NAME
    %ATTRIBUTES   Accessor: ATTRIBUTES
  • Class DOCTYPE  (CHILD-NODE)
    %DOCTYPE   Accessor: DOCTYPE
  • Class FULLTEXT-ELEMENT  (ELEMENT)
    No slots.
  • Class XML-HEADER  (CHILD-NODE)
    %ATTRIBUTES   Accessor: ATTRIBUTES
  • Class CDATA  (CHILD-NODE, TEXTUAL-NODE)
    No slots.
  • Class PROCESSING-INSTRUCTION  (CHILD-NODE, TEXTUAL-NODE)
    %TAG-NAME   Accessor: TAG-NAME
  • Function MAKE-CHILD-ARRAY (&optional (size 0))
  • Function ENSURE-CHILD-ARRAY (array)
  • Function MAKE-ATTRIBUTE-MAP (&optional (size 0))
  • Function ENSURE-ATTRIBUTE-MAP (table)
  • Function MAKE-ROOT (&optional (children (make-child-array)))
  • Function MAKE-ELEMENT (parent tag &key (children (make-child-array)) (attributes (make-attribute-map)))
  • Function MAKE-TEXT-NODE (parent &optional (text ""))
  • Function MAKE-COMMENT (parent &optional (text ""))
  • Function MAKE-DOCTYPE (parent doctype)
  • Function MAKE-FULLTEXT-ELEMENT (parent tag &key text (attributes (make-attribute-map)))
  • Function MAKE-XML-HEADER (parent &key (attributes (make-attribute-map)))
  • Function MAKE-CDATA (parent &key (text ""))
  • Function MAKE-PROCESSING-INSTRUCTION (parent &key name (text ""))
  • Function NODE-P (object)
    Returns T if the given OBJECT is of type NODE
  • Function NESTING-NODE-P (object)
    Returns T if the given OBJECT is of type NESTING-NODE
  • Function CHILD-NODE-P (object)
    Returns T if the given OBJECT is of type CHILD-NODE
  • Function TEXTUAL-NODE-P (object)
    Returns T if the given OBJECT is of type TEXTUAL-NODE
  • Function ROOT-P (object)
    Returns T if the given OBJECT is of type ROOT
  • Function TEXT-NODE-P (object)
    Returns T if the given OBJECT is of type TEXT-NODE
  • Function COMMENT-P (object)
    Returns T if the given OBJECT is of type COMMENT
  • Function ELEMENT-P (object)
    Returns T if the given OBJECT is of type ELEMENT
  • Function DOCTYPE-P (object)
    Returns T if the given OBJECT is of type DOCTYPE
  • Function FULLTEXT-ELEMENT-P (object)
    Returns T if the given OBJECT is of type FULLTEXT-ELEMENT
  • Function XML-HEADER-P (object)
    Returns T if the given OBJECT is of type XML-HEADER
  • Function PROCESSING-INSTRUCTION-P (object)
    Returns T if the given OBJECT is of type PROCESSING-INSTRUCTION
  • Function CDATA-P (object)
    Returns T if the given OBJECT is of type CDATA
  • Function CLEAR (nesting-node)
  • Function SIBLINGS (child)
  • Function FAMILY (child)
  • Function CHILD-POSITION (child)
  • Function APPEND-CHILD (parent child)
  • Function PREPEND-CHILD (parent child)
  • Function REMOVE-CHILD (child)
  • Function REPLACE-CHILD (old-child new-child)
  • Function INSERT-BEFORE (element new-child)
  • Function INSERT-AFTER (element new-child)
  • Function SPLICE (element)
  • Function CLONE-CHILDREN (node &optional deep new-parent)
  • Function CLONE-ATTRIBUTES (node)
  • Generic-Function CLONE-NODE (node &optional deep)
  • Method CLONE-NODE ((node processing-instruction) &optional (deep t))
  • Method CLONE-NODE ((node processing-instruction) &optional (deep t))
  • Method CLONE-NODE ((node processing-instruction) &optional (deep t))
  • Method CLONE-NODE ((node cdata) &optional (deep t))
  • Method CLONE-NODE ((node cdata) &optional (deep t))
  • Method CLONE-NODE ((node cdata) &optional (deep t))
  • Method CLONE-NODE ((node xml-header) &optional (deep t))
  • Method CLONE-NODE ((node xml-header) &optional (deep t))
  • Method CLONE-NODE ((node xml-header) &optional (deep t))
  • Method CLONE-NODE ((node doctype) &optional (deep t))
  • Method CLONE-NODE ((node doctype) &optional (deep t))
  • Method CLONE-NODE ((node doctype) &optional (deep t))
  • Method CLONE-NODE ((node element) &optional (deep t))
  • Method CLONE-NODE ((node element) &optional (deep t))
  • Method CLONE-NODE ((node element) &optional (deep t))
  • Method CLONE-NODE ((node comment) &optional (deep t))
  • Method CLONE-NODE ((node comment) &optional (deep t))
  • Method CLONE-NODE ((node comment) &optional (deep t))
  • Method CLONE-NODE ((node text-node) &optional (deep t))
  • Method CLONE-NODE ((node text-node) &optional (deep t))
  • Method CLONE-NODE ((node text-node) &optional (deep t))
  • Method CLONE-NODE ((node textual-node) &optional (deep t))
  • Method CLONE-NODE ((node textual-node) &optional (deep t))
  • Method CLONE-NODE ((node textual-node) &optional (deep t))
  • Method CLONE-NODE ((node child-node) &optional (deep t))
  • Method CLONE-NODE ((node child-node) &optional (deep t))
  • Method CLONE-NODE ((node child-node) &optional (deep t))
  • Method CLONE-NODE ((node nesting-node) &optional (deep t))
  • Method CLONE-NODE ((node nesting-node) &optional (deep t))
  • Method CLONE-NODE ((node nesting-node) &optional (deep t))
  • Method CLONE-NODE ((node node) &optional (deep t))
  • Method CLONE-NODE ((node node) &optional (deep t))
  • Method CLONE-NODE ((node node) &optional (deep t))
  • Method CLONE-NODE ((table hash-table) &optional (deep t))
  • Method CLONE-NODE ((table hash-table) &optional (deep t))
  • Method CLONE-NODE ((table hash-table) &optional (deep t))
  • Method CLONE-NODE ((vector vector) &optional (deep t))
  • Method CLONE-NODE ((vector vector) &optional (deep t))
  • Method CLONE-NODE ((vector vector) &optional (deep t))
  • Function FIRST-CHILD (element)
  • Function LAST-CHILD (element)
  • Function PREVIOUS-SIBLING (child)
  • Function NEXT-SIBLING (child)
  • Function CHILD-ELEMENTS (nesting-node)
  • Function ELEMENT-POSITION (child)
  • Function SIBLING-ELEMENTS (child)
  • Function FAMILY-ELEMENTS (child)
  • Function FIRST-ELEMENT (element)
  • Function LAST-ELEMENT (element)
  • Function PREVIOUS-ELEMENT (child)
  • Function NEXT-ELEMENT (child)
  • Function HAS-CHILD-NODES (node)
  • Function ATTRIBUTE (element attribute)
  • Function (setf ATTRIBUTE) (value element attribute)
  • Function GET-ATTRIBUTE (element attribute)
  • Function SET-ATTRIBUTE (element attribute value)
  • Function REMOVE-ATTRIBUTE (element attribute)
  • Function HAS-ATTRIBUTE (element attribute)
  • Method TEXT ((node nesting-node))
    Compiles all text nodes within the nesting-node into one string.
  • Function RENDER-TEXT (node)
  • Function GET-ELEMENTS-BY-TAG-NAME (node tag)
  • Function GET-ELEMENT-BY-ID (node id)
  • Variable *STREAM*
  • Function SERIALIZE (node &optional (stream t))
  • Generic-Function SERIALIZE-OBJECT (node)
  • Method SERIALIZE-OBJECT ((nodes vector))
  • Method SERIALIZE-OBJECT ((nodes vector))
  • Method SERIALIZE-OBJECT ((nodes vector))
  • Method SERIALIZE-OBJECT ((node nesting-node))
  • Method SERIALIZE-OBJECT ((node nesting-node))
  • Method SERIALIZE-OBJECT ((node nesting-node))
  • Method SERIALIZE-OBJECT ((table hash-table))
  • Method SERIALIZE-OBJECT ((table hash-table))
  • Method SERIALIZE-OBJECT ((table hash-table))
  • Method SERIALIZE-OBJECT ((node processing-instruction))
  • Method SERIALIZE-OBJECT ((node processing-instruction))
  • Method SERIALIZE-OBJECT ((node processing-instruction))
  • Method SERIALIZE-OBJECT ((node cdata))
  • Method SERIALIZE-OBJECT ((node cdata))
  • Method SERIALIZE-OBJECT ((node cdata))
  • Method SERIALIZE-OBJECT ((node xml-header))
  • Method SERIALIZE-OBJECT ((node xml-header))
  • Method SERIALIZE-OBJECT ((node xml-header))
  • Method SERIALIZE-OBJECT ((node fulltext-element))
  • Method SERIALIZE-OBJECT ((node fulltext-element))
  • Method SERIALIZE-OBJECT ((node fulltext-element))
  • Method SERIALIZE-OBJECT ((node element))
  • Method SERIALIZE-OBJECT ((node element))
  • Method SERIALIZE-OBJECT ((node element))
  • Method SERIALIZE-OBJECT ((node comment))
  • Method SERIALIZE-OBJECT ((node comment))
  • Method SERIALIZE-OBJECT ((node comment))
  • Method SERIALIZE-OBJECT ((node doctype))
  • Method SERIALIZE-OBJECT ((node doctype))
  • Method SERIALIZE-OBJECT ((node doctype))
  • Method SERIALIZE-OBJECT ((node text-node))
  • Method SERIALIZE-OBJECT ((node text-node))
  • Method SERIALIZE-OBJECT ((node text-node))
  • Generic-Function TRAVERSE (node function &key test)
  • Function TRIM (node)
  • Function STRIP (node)

PLUMP-PARSER

  • Variable *ALL-TAG-DISPATCHERS*
    nil
  • Variable *TAG-DISPATCHERS*
    nil
  • Variable *XML-TAGS*
    nil
  • Variable *HTML-TAGS*
    nil
  • Struct TAG-DISPATCHER
    NAME
    TEST
    PARSER
    PRINTER
  • Function TAG-DISPATCHER (name &optional (list *all-tag-dispatchers*))
  • Function REMOVE-TAG-DISPATCHER (name &optional (list '*all-tag-dispatchers*))
  • Macro DEFINE-TAG-DISPATCHER ((name &rest lists) (tagvar) &body body)
  • Macro DEFINE-TAG-PARSER (name (tagvar) &body body)
  • Macro DEFINE-TAG-PRINTER (name (nodevar) &body body)
  • Macro DO-TAG-PARSERS ((test parser &optional result-form) &body body)
  • Macro DO-TAG-PRINTERS ((test printer &optional result-form) &body body)
  • Variable *ROOT*
  • Function READ-NAME
  • Function READ-TEXT
  • Function READ-TAG-CONTENTS
  • Function READ-CHILDREN
  • Function READ-ATTRIBUTE-VALUE
  • Function READ-ATTRIBUTE-NAME
  • Function READ-ATTRIBUTE
  • Function READ-ATTRIBUTES
  • Function READ-STANDARD-TAG (name)
  • Function READ-TAG
  • Function READ-ROOT (&optional (root (make-root)))
  • Function SLURP-STREAM (stream)
  • Generic-Function PARSE (input &key root)
  • Method PARSE ((input stream) &key root)
  • Method PARSE ((input stream) &key root)
  • Method PARSE ((input stream) &key root)
  • Method PARSE ((input pathname) &key root)
  • Method PARSE ((input pathname) &key root)
  • Method PARSE ((input pathname) &key root)
  • Method PARSE ((input string) &key root)
  • Method PARSE ((input string) &key root)
  • Method PARSE ((input string) &key root)
  • Function PROCESSING-PARSER (process-name)
  • Function (setf PROCESSING-PARSER) (func process-name)
  • Function REMOVE-PROCESSING-PARSER (process-name)
  • Macro DEFINE-PROCESSING-PARSER (process-name nil &body body)
  • Macro DEFINE-SELF-CLOSING-ELEMENT (tag &rest lists)
  • Macro DEFINE-FULLTEXT-ELEMENT (tag &rest lists)

PLUMP

No exported symbols.

Also exports

  • PLUMP-DOM:RENDER-TEXT
  • PLUMP-DOM:ENSURE-CHILD-ARRAY
  • PLUMP-DOM:DOCTYPE
  • PLUMP-PARSER:REMOVE-PROCESSING-PARSER
  • PLUMP-PARSER:READ-ATTRIBUTES
  • PLUMP-DOM:PREVIOUS-SIBLING
  • PLUMP-DOM:DOCTYPE-P
  • PLUMP-DOM:MAKE-XML-HEADER
  • PLUMP-LEXER:ADVANCE-N
  • PLUMP-DOM:MAKE-DOCTYPE
  • PLUMP-DOM:COMMENT
  • PLUMP-DOM:ATTRIBUTE
  • PLUMP-DOM:NEXT-SIBLING
  • PLUMP-DOM:FULLTEXT-ELEMENT-P
  • PLUMP-PARSER:READ-TEXT
  • PLUMP-DOM:STRIP
  • PLUMP-DOM:ROOT
  • PLUMP-PARSER:READ-TAG
  • PLUMP-DOM:PROCESSING-INSTRUCTION-P
  • PLUMP-DOM:TRIM
  • PLUMP-DOM:TRAVERSE
  • PLUMP-DOM:GET-ATTRIBUTE
  • PLUMP-LEXER:PEEK
  • PLUMP-DOM:CHILD-NODE-P
  • PLUMP-DOM:INVALID-XML-CHARACTER
  • PLUMP-PARSER:DO-TAG-PRINTERS
  • PLUMP-DOM:NODE
  • PLUMP-DOM:CDATA
  • PLUMP-LEXER:MATCHER-AND
  • PLUMP-DOM:GET-ELEMENT-BY-ID
  • PLUMP-DOM:DISCOURAGED-XML-CHARACTER
  • PLUMP-LEXER:CONSUME
  • PLUMP-DOM:ELEMENT-POSITION
  • PLUMP-DOM:NODE-P
  • PLUMP-DOM:MAKE-ELEMENT
  • PLUMP-DOM:TEXTUAL-NODE
  • PLUMP-PARSER:PARSE
  • PLUMP-LEXER:ADVANCE
  • PLUMP-LEXER:MAKE-MATCHER
  • PLUMP-DOM:INSERT-BEFORE
  • PLUMP-DOM:FAMILY-ELEMENTS
  • PLUMP-PARSER:*ROOT*
  • PLUMP-DOM:TRANSLATE-ENTITY
  • PLUMP-PARSER:*ALL-TAG-DISPATCHERS*
  • PLUMP-DOM:ATTRIBUTES
  • PLUMP-PARSER:READ-ATTRIBUTE
  • PLUMP-LEXER:MATCHER-CHARACTER
  • PLUMP-DOM:MAKE-CHILD-ARRAY
  • PLUMP-DOM:USE-NEW-CHARACTER
  • PLUMP-LEXER:MATCHER-PREV
  • PLUMP-DOM:GET-ELEMENTS-BY-TAG-NAME
  • PLUMP-LEXER:*STRING*
  • PLUMP-PARSER:READ-ATTRIBUTE-VALUE
  • PLUMP-DOM:LAST-CHILD
  • PLUMP-DOM:WRITE-ENCODE-CHAR
  • PLUMP-LEXER:*INDEX*
  • PLUMP-DOM:*ENTITY-MAP*
  • PLUMP-DOM:SERIALIZE
  • PLUMP-DOM:MAKE-PROCESSING-INSTRUCTION
  • PLUMP-DOM:CLEAR
  • PLUMP-DOM:DISCOURAGED-CHAR-P
  • PLUMP-LEXER:MATCHER-ANY
  • PLUMP-LEXER:*LENGTH*
  • PLUMP-DOM:MAKE-FULLTEXT-ELEMENT
  • PLUMP-DOM:ALLOWED-CHAR-P
  • PLUMP-DOM:CLONE-CHILDREN
  • PLUMP-PARSER:DEFINE-TAG-PRINTER
  • PLUMP-DOM:NESTING-NODE-P
  • PLUMP-PARSER:DEFINE-TAG-DISPATCHER
  • PLUMP-DOM:HAS-ATTRIBUTE
  • PLUMP-LEXER:UNREAD
  • PLUMP-DOM:ELEMENT
  • PLUMP-DOM:TAG-NAME
  • PLUMP-DOM:MAKE-COMMENT
  • PLUMP-DOM:DECODE-ENTITIES
  • PLUMP-DOM:COMMENT-P
  • PLUMP-DOM:FIRST-ELEMENT
  • PLUMP-LEXER:MATCHER-NOT
  • PLUMP-LEXER:MATCHER-NEXT
  • PLUMP-DOM:PARENT
  • PLUMP-DOM:REMOVE-CHILD
  • PLUMP-DOM:TEXT
  • PLUMP-DOM:FAMILY
  • PLUMP-PARSER:*XML-TAGS*
  • PLUMP-DOM:CLONE-ATTRIBUTES
  • PLUMP-DOM:REPLACE-CHILD
  • PLUMP-DOM:MAKE-ATTRIBUTE-MAP
  • PLUMP-DOM:FIRST-CHILD
  • PLUMP-PARSER:PROCESSING-PARSER
  • PLUMP-PARSER:DEFINE-PROCESSING-PARSER
  • PLUMP-DOM:ENCODE-ENTITIES
  • PLUMP-DOM:TEXTUAL-NODE-P
  • PLUMP-LEXER:DEFINE-MATCHER
  • PLUMP-DOM:CHILD-ELEMENTS
  • PLUMP-PARSER:*TAG-DISPATCHERS*
  • PLUMP-PARSER:REMOVE-TAG-DISPATCHER
  • PLUMP-DOM:XML-HEADER
  • PLUMP-DOM:MAKE-CDATA
  • PLUMP-DOM:MAKE-ROOT
  • PLUMP-DOM:TEXT-NODE
  • PLUMP-LEXER:MATCHER-RANGE
  • PLUMP-PARSER:READ-ATTRIBUTE-NAME
  • PLUMP-PARSER:READ-TAG-CONTENTS
  • PLUMP-DOM:XML-HEADER-P
  • PLUMP-LEXER:CONSUME-UNTIL
  • PLUMP-PARSER:DO-TAG-PARSERS
  • PLUMP-PARSER:DEFINE-SELF-CLOSING-ELEMENT
  • PLUMP-DOM:SIBLING-ELEMENTS
  • PLUMP-DOM:INSERT-AFTER
  • PLUMP-DOM:NEXT-ELEMENT
  • PLUMP-LEXER:MATCHER-STRING
  • PLUMP-DOM:*STREAM*
  • PLUMP-DOM:REMOVE-ATTRIBUTE
  • PLUMP-PARSER:READ-NAME
  • PLUMP-DOM:FULLTEXT-ELEMENT
  • PLUMP-LEXER:WITH-LEXER-ENVIRONMENT
  • PLUMP-PARSER:READ-CHILDREN
  • PLUMP-DOM:CHILD-POSITION
  • PLUMP-LEXER:MATCHER-FIND
  • PLUMP-PARSER:DEFINE-FULLTEXT-ELEMENT
  • PLUMP-DOM:ELEMENT-P
  • PLUMP-DOM:MAKE-TEXT-NODE
  • PLUMP-DOM:CLONE-NODE
  • PLUMP-DOM:CHILDREN
  • PLUMP-DOM:APPEND-CHILD
  • PLUMP-DOM:CHILD-NODE
  • PLUMP-DOM:PROCESSING-INSTRUCTION
  • PLUMP-DOM:ENSURE-ATTRIBUTE-MAP
  • PLUMP-PARSER:*HTML-TAGS*
  • PLUMP-DOM:SET-ATTRIBUTE
  • PLUMP-LEXER:UNREAD-N
  • PLUMP-DOM:ROOT-P
  • PLUMP-DOM:SERIALIZE-OBJECT
  • PLUMP-DOM:SPLICE
  • PLUMP-DOM:HAS-CHILD-NODES
  • PLUMP-PARSER:READ-ROOT
  • PLUMP-LEXER:MATCHER-OR
  • PLUMP-DOM:TEXT-NODE-P
  • PLUMP-DOM:SIBLINGS
  • PLUMP-DOM:NESTING-NODE
  • PLUMP-DOM:PREPEND-CHILD
  • PLUMP-DOM:CDATA-P
  • PLUMP-DOM:PREVIOUS-ELEMENT
  • PLUMP-DOM:LAST-ELEMENT
  • PLUMP-DOM:FAULTY-CHAR
  • PLUMP-PARSER:DEFINE-TAG-PARSER
  • PLUMP-PARSER:READ-STANDARD-TAG
  • PLUMP-PARSER:TAG-DISPATCHER
  • PLUMP-PARSER:SLURP-STREAM

plump-dom

A DOM for use with the Plump parser.

No packages.

plump-lexer

A very simple toolkit to help with lexing used mainly in Plump.

No packages.

plump-parser

Plump's core parser component.

No packages.