[plt-scheme] sxml.ss - Works on its own, but not in module

John Clements clements at brinckerhoff.org
Mon Jan 14 18:12:15 EST 2008


On Jan 14, 2008, at 3:08 PM, Eric Biunno wrote:

> I might have spoken too soon, this doesn't seem to work:
>
> (module foo mzscheme
>   (require (planet "sxml.ss" ("lizorkin" "sxml.plt" 1 4)))
>
> (define test
>   (apply
>    string-append
>    (sxml:clean-feed
>     (stx:transform-dynamic
>      (sxml:add-parents
>       (sxml:document " http://modis.ispras.ru/Lizorkin/XML/poem.xml"))
>      (stx:make-stx-stylesheet
>       (sxml:document
>        " http://modis.ispras.ru/Lizorkin/XML/poem2html.xsl"
>        '((xsl . " http://www.w3.org/1999/XSL/ 
> Transform"))))))) ;originaly had a leading space " http://www.w3.org/1999/XSL/Transform 
> "
>   )
>
> (provide test))
>
>
> (module foo-user mzscheme
>   (require (file "foo.ss"))
>
>   (display test)
>   )

More details, please.  What language level are you running in, what  
version of drscheme are you using, what (if anything) are you  
evaluating in the interactions window, etc.

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.cs.brown.edu/pipermail/plt-scheme/attachments/20080114/bc35f8a8/attachment.htm


More information about the plt-scheme mailing list