Documentation
Given a tree representing some LXML code with TAL attributes
returns the yaclml tag using code for generating the
HTML. Destructivly modifies TREE.
Source
(defun transform-lxml-tree (tree)
"Given a tree representing some LXML code with TAL attributes
returns the yaclml tag using code for generating the
HTML. Destructivly modifies TREE."
;; we collect strings and forms it the collector OPS. When we're
;; done iterating (or recusring) over the tags we can string-fold
;; ops to get the longest posible string sequences.
(mapcar (lambda (form)
(transform-lxml-form form))
tree))
Source Context