le:/tmp/test.xml"
#f
although the file exists. I have tried
file://tmp/test.xml
file://localhost/tmp/test.xml
file://localhost//tmp/test.xml
etc.,
but none of them is working.
I'd appreciate any help.
Thanks,
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Ch
> (call-with-input-file "/tmp/test.xml"
(lambda (in)
(ssax:xml->sxml in '(
'(*TOP*
(*PI* xml "version=\"1.0\" encoding=\"utf-8\"")
(http://www.w3.org/1999/xhtml:html ...
>
--
Raghu.
--
N. Raghavendra , http://www.retrot
re’s a build error (entirely possible).
Thanks very much.
I'll update my installation of the package after a few hours.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
--
You received this message because you are subscri
. It seems an important function, and I was wondering why the sxml
module does not provide it, the way it does ssax:xml->sxml, so that one
doesn't need to further require sxml/ssax/ssax. I see that sxml
provides ssax:multi-parser. Is it similar to ssax:make-parser?
Thanks,
Raghu.
--
N.
At 2018-05-15T17:36:44-04:00, John Clements wrote:
> Interestingly, it looks like this change is a deliberate one, made by
> Ryan Culpepper back in 2011. Here’s the relevant commit:
Thanks for tracing that change.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Re
At 2018-05-14T11:40:05+05:30, N. Raghavendra wrote:
> I'll update my installation of the package after a few hours.
Sorry, I missed this. I had updated my installation of the package
after a couple of hours on that day, and sxml:document works as
expected, for local file URLs. HTTP
e, e.g., '→' as equivalent to '->'
in identifiers? Then, I can use
> (string→symbol "map")
instead of
> (string->symbol "map")
Thanks,
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.
ifier ...
racket@> (require racket/string)
racket@> (require (filtered-in
(λ (name)
(string-replace name "->" "→"))
racket))
string-replace: undefined; cannot reference undefined identifier ...
Wonder what
transform-right-arrow require-spec)]))
>
> ;; Using it:
>
> (require (transform-right-arrow-in racket/base))
>
> (symbol→string 'blubber)
Thanks, this works. However, at this stage of my experience with
Racket, the direct `filtered-in' method suggested by Jens appears
;))
> Would you (N. Raghavendra) be interested in taking the raw
> pseudo-documentation currently provided for ssax:make-parser and
> reformatting it into something useful, perhaps with an example? Would
> you (N. Raghavendra) be interested in taking the raw
> pseudo-documentation c
quot; "→")))
(require racket/require (for-syntax 'syntax-transform))
(require (filtered-in arrow-beautify racket))
--
Running this file in Dr Racket, I get
> (string→symbol "map")
'map
I get the same in Emacs/Geiser with `geiser-mode-switch-to-repl-and-e
isting quasi-documentation for ssax.rkt, make-parser was
> the only one that looked to me like it might productively be used from
> outside.
Sure, I guess that's for the best.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
I am fine
with importing ssax separately in my files. I just thought that it is
good to keep a record of its useful identifiers.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
--
You received this message because you are subscribed
nks for all the interesting information.
Raghu.
PS: Just migrated to racket-mode from geiser, so will ask here if I have
any queries there. Thanks for the mode too!
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Research Institute, http://www.hri.res.in/
--
You received this m
mentation.
However, I will need guidance from the experts. Also, before beginning
on such an exercise, perhaps one should consider the suggestions in Neil
Van Dyke's recent message. I'll reply to that separately.
Raghu.
--
N. Raghavendra , http://www.retrotexts.net/
Harish-Chandra Resear
as I know, it doesn't understand XInclude, and seems to
deal with inclusions using external parsed general entities, which is
perhaps a bit dated at this stage of XML usage. It may be best to adapt
the good parts of SXML, and build a well-maintained and modern XML
toolkit for Racket,
At 2018-05-16T23:47:29+05:30, N. Raghavendra wrote:
> At 2018-05-16T13:49:52-04:00, John Clements wrote:
>
>> Would you (N. Raghavendra) be interested in taking the raw
>> pseudo-documentation currently provided for ssax:make-parser and
>> reformatting it into something
17 matches
Mail list logo