accessing SXML->HTML in the latest version of sxml-tools for plt-scheme
Terrence Brannon <[email protected]> Sun, 23 May 2004 04:17:39 -0400
| Newsgroups | gmane.lisp.scheme.ssax-sxml |
|---|---|
| Message-ID | <[email protected]> |
For list-related administrative tasks:
http://list.cs.brown.edu/mailman/listinfo/plt-scheme
Kirill Lisovsky wrote:
>Hello!
>
>The latest information about these ports of SSAX may be found at:
>http://pair.com/lisovsky/xml/ssax/
>
>I recommend to use
>http://pair.com/lisovsky/download/sxml/plt/preview/ssax20040221.plt
>it looks like it's stable enough.
>
>
>
I cannot figure out how to get this distribution to emit HTML:
(require (lib "sxml-tools.ss" "sxml"))
(define simple
'(
(a (@ (href http://www.aaa.com))
"The AAA Site")))
;;; This function returns something that is not quite HTML.
;;; I want to generate HTML that can be viewed by a browser.
(sxml:sxml->html simple)
I cannot figure out how to access the SXML->HTML function:
Welcome to MzScheme version 206, Copyright (c) 2004 PLT Scheme, Inc.
> (require (lib "sxml-to-markup.ss" "sxml"))
> SXML->HTML
reference to undefined identifier: sxml->html
> entag
#<procedure:entag>
> string->goodHTML
reference to undefined identifier: string->goodhtml
> string->goodHTML
reference to undefined identifier: string->goodhtml
> (load "test.scm")
(("<" "a" (" " "href" "='" http://www.aaa.com "'") ">" "The AAA Site"
"</" "a" ">"))
> (require (lib "sxml-tools.ss" "sxml"))
> sxml:display-fragments
reference to undefined identifier: sxml:display-fragments
> sxml-to-markup:SXML->HTML
reference to undefined identifier: sxml-to-markup:sxml->html
> SRV:send-reply
reference to undefined identifier: srv:send-reply
>
--
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.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click