lxml-ctx.mkiv / last modification: 2020-01-30 14:16
%D \module
%D   [       file=lxml-ctx,
%D        version=2007.08.17,
%D          title=\CONTEXT\ \XML\ Support,
%D       subtitle=Initialization,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Experimental. This might change! Also, it might become a module
%D instead if core code.

\writestatus{loading}{ConTeXt XML Support / Goodies}



\settrue \xmllshowbuffer
\settrue \xmllshowwarning



  {\ctxlua{xml.ctx.tshow {
        pattern = \!!bs\detokenize{#1}\!!es,
        title = "lshowtitle",
        warning = true,
    } }}

  {\ctxlua{xml.ctx.tshow {
        pattern = \!!bs\detokenize{#2}\!!es,
        xmlroot   = "#1",
        attribute = "#3",
        warning = true,
     } }}