Map SXML->LOW-LEVEL-SXML to Oleg's PRE-POST-ORDER
This commit is contained in:
parent
b95d65509e
commit
63afb5d073
|
@ -61,6 +61,7 @@
|
|||
;; Extensions/Exports to/from Olegs SSAX library
|
||||
(define-interface surflets/sxml-interface
|
||||
(export display-low-level-sxml
|
||||
sxml->low-level-sxml ;direct map to pre-post-order
|
||||
sxml->string
|
||||
sxml->string/internal
|
||||
sxml-attribute?
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
(display (car fragments) port)
|
||||
(loop (cdr fragments) #t)))))
|
||||
|
||||
(define sxml->low-level-sxml pre-post-order)
|
||||
|
||||
;; Gives you a string representing the HTML of the already reformatted
|
||||
;; SXML-TREE.
|
||||
(define (sxml->string sxml-tree rules)
|
||||
|
|
Loading…
Reference in New Issue