Hello! Thien-Thi Nguyen <t...@gnuvola.org> skribis:
> If the XML backend didn’t already exist, I would suggest using a > custom sexp-based format instead, though. That would be easier than > SXML for elisp, which doesn’t have tools like sxml-match. > > What is ‘sxml-match’ and how would a renderer use it? Pattern matching on SXML trees: http://www.gnu.org/software/guile/manual/html_node/sxml_002dmatch.html In my experience, it greatly simplifies handling of SXML trees. Without that, one has to resort to error-prone hand-written matching code, work with XML attributes that can appear in any order, etc. Regarding Texinfo-as-sexps, I’d recommend looking at “stexi”, now in Guile 2.0: http://wingolog.org/archives/2004/07/25/literate-programming-with-guile-lib http://www.gnu.org/software/guile/manual/html_node/texinfo.html Thanks, Ludo’.