[racket] problem with module language
John,
Well, this is strange.
I thought the new library didn't have it so I wrote it. It is trivial
(see below)
I just happened to call it a lot. It is what the original libraries
tutorial started with ( http://modis.ispras.ru/Lizorkin/sxml-tutorial.html)
However, I now find it actually is in the library, but just is not
documented - except, that is, I now see, in the raw export list. So no
need to add anything.
Thanks,
Joop
(require (planet clements/sxml2:1:=3))
(require net/url)
(define (sxml:document1 url)
(ssax:xml->sxml (get-pure-port (string->url url)) '()))
On 03/27/2012 07:26 PM, John Clements wrote:
> On Mar 27, 2012, at 10:25 AM, Joop Ringelberg wrote:
>
>> John,
>> Thank you.
>> I've replaced the requirement with clements/sxml2 and am happy to say that it works like a charm.
>> Had to add the sxml:document convenience function and that was it.
> Hmm, what's the sxml:document convenience function? Would you consider adding it and submitting a pull request?
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120327/a48632f8/attachment-0001.html>