problems rendering kanren-sourceforge.scm using PLT SSAX/SXML distro
Terrence Brannon <[email protected]> Mon, 31 May 2004 23:20:45 -0400
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
I am trying to learn SXML transformation to XML/HTML by playing with a
rather straightforward example:
http://cvs.sourceforge.net/viewcvs.py/kanren/kanren/kanren-sourceforge.scm
However, I have run into one problem:
(load "try.scm")
> (load "kanren-sourceforge.scm")
reference to undefined identifier: generic-web-rules
where try.scm is attached (it simply loads every sxml .ss file it can
find and redefines srv:send-reply to sxml:display-fragments)
And I anticipate several more based on the grepping the library for
certain other things:
-- universal-conversion-rules will probably not be identified and cause
problems later
-- signif-tail does not appear to be defined anywhere either
If someone has a suggestion for getting kanren-sourceforge.scm to
evaluate completely under PLT Scheme, I would appreciate it.
Here are the versions of the SXML files in PLT collect directory:
/cygdrive/c/Documents and Settings/metaperl/Application Data/PLT
Scheme/206/collects/sxml $ grep '$Id' *.ss
fragments.ss:;; $Id: fragments.scm,v 1.1 2004/01/20 19:04:43 kl Exp kl $
guides.ss:;; $Id: guides.scm,v 2.4 2003/12/08 02:07:23 kl Exp kl $
libmisc.ss:;; $Id: libmisc.scm,v 1.7 2002/10/08 15:47:21 kl Exp kl $
stx-engine.ss:;; $Id: stx-engine.scm,v 1.9502 2004/01/22 01:11:45 kl Exp
kl $
stx-xsl.ss:;; $Id: stx-xsl.scm,v 1.4 2004/01/31 00:38:40 kl Exp kl $
sxml-to-markup.ss:; $Id: SXML-to-HTML.scm,v 1.5 2003/04/25 19:17:37 oleg
Exp $
sxml-tree-trans.ss:; $Id: sxml-tree-trans.scm,v 1.600 2004/01/03
20:47:04 kl Exp kl $
sxpath-ext.ss:; $Id: sxpath-ext.scm,v 1.911 2002/12/06 22:10:53 kl Exp kl $:
sxpath-plus.ss:; $Id: sxpath-plus.scm,v 1.3 2004/01/25 16:14:20 kl Exp kl $
sxpath.ss:;; $Id: sxpath.scm,v 1.4 2004/01/13 05:18:37 kl Exp kl $
sxpathlib.ss:; $Id: sxpathlib.scm,v 3.917 2004/01/31 06:03:43 kl Exp kl $
/cygdrive/c/Documents and Settings/metaperl/Application Data/PLT
Scheme/206/collects/sxml $
--
mathematics: the science of quantity, shape, and arrangement
computersci: the science of information description and transformation
liberalarts: essential study for adequate education and civic participation.
try.scm
(text/plain, 719 B)
(require (lib "ssax.ss" "ssax")
(lib "sxml-tools.ss" "sxml")
(lib "fragments.ss" "sxml")
(lib "guides.ss" "sxml")
(lib "info.ss" "sxml")
(lib "libmisc.ss" "sxml")
(lib "stx-engine.ss" "sxml")
(lib "stx-xsl.ss" "sxml")
(lib "sxml-to-markup.ss" "sxml")
(lib "sxml-tools.ss" "sxml")
(lib "sxml-tree-trans.ss" "sxml")
(lib "sxpath-ext.ss" "sxml")
(lib "sxpath-plus.ss" "sxml")
(lib "sxpath.ss" "sxml")
(lib "sxpathlib.ss" "sxml")
(lib "txpath.ss" "sxml")
(lib "xpath-parser.ss" "sxml"))
(define srv:send-reply sxml:display-fragments)