Convenient way to use both versions of pre-post-order?

[email protected] Tue, 19 Apr 2005 11:56:38 -0700 (PDT)
Newsgroups gmane.lisp.scheme.ssax-sxml
Message-ID <[email protected]>
Hello!

> There is one version of pre-post-order defined in
> SSAX/lib/SXML-tree-trans.scm, and another version defined in
> SSAX/examples/sxml-to-sxml.scm.  I would like to use both versions in
> the same environment

The file `SSAX/lib/SXML-tree-trans.scm' is a part of the library, and
so it can be included as it is. The file
`SSAX/examples/sxml-to-sxml.scm' is a stand-alone example; one cannot
just `import' it; one has to use the editor to move the relevant
pieces of code from that. While we're doing that, we might as well
rename the functions we are pasting.

Speaking of pre-post-order specifically, I would not have expected any
conflicts: both versions are compatible. That is, the code that works
with the version in `SSAX/lib' should work with the version in
`SSAX/examples' -- perhaps a bit slower. I'm not sure how much slower;
the difference in performance might be imperceptible, depending on the
application and the Scheme system used. Perhaps the function in
`SSAX/examples' should be used all the time, and the other one
deprecated.

	Cheers,
	Oleg


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728