1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

doc: Clarify reference to (sxml transform) module.

* doc/ref/sxml.texi (7.21.4 Transforming SXML): Adds a mention to the
module to be imported for the procedures introduced in this section of
the documentation..

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Fulbert 2022-09-13 19:21:59 +02:00 committed by Ludovic Courtès
parent e2797f529b
commit 6c4738ee4c

View file

@ -475,14 +475,14 @@ where
<handler> :: <trigger-symbol> x [<tree>] -> <new-tree>
@end smallexample
The pre-post-order function visits the nodes and nodelists
pre-post-order (depth-first). For each @code{<Node>} of the form
@code{(@var{name} <Node> ...)}, it looks up an association with the
given @var{name} among its @var{<bindings>}. If failed,
@code{pre-post-order} tries to locate a @code{*default*} binding. It's
an error if the latter attempt fails as well. Having found a binding,
the @code{pre-post-order} function first checks to see if the binding is
of the form
The @code{pre-post-order} function, in the @code{(sxml transform)}
module, visits the nodes and nodelists pre-post-order (depth-first).
For each @code{<Node>} of the form @code{(@var{name} <Node> ...)}, it
looks up an association with the given @var{name} among its
@var{<bindings>}. If failed, @code{pre-post-order} tries to locate a
@code{*default*} binding. It's an error if the latter attempt fails as
well. Having found a binding, the @code{pre-post-order} function first
checks to see if the binding is of the form
@smallexample
(<trigger-symbol> *preorder* . <handler>)