I have another DOM question, though this one is for play only. I've been considering taking a [link|http://www.bluetail.com/~luke/jscm/scm.js.txt|Scheme in JavaScript] ditty, and make some improvements. Having gotten far - the first project is to try to strip the JavaScript string-a-nation out of the scheme include files (the second has to do with building a scheme object that does the evaluation).
I can't figure out how to access an included scheme file. The browser doesn't recognize scheme as a valid script engine, but I was thinking that perhaps it does expose the included source into the DOM. Here's a snippet of what I'm trying to accomplish:
<html>
<head><title>Test</title></head>
<script language='scheme' src='library.scm' type='text/scheme'></script>
<script language='javascript' type='text/javascript'>
// how can I get the above included script file into a JavaScript string?
</script>
<body>
</body>
</html>