Re: [racket-users] Need advice on XML representation

2020-03-10 Thread Neil Van Dyke

Thank you, Tom.

This document might help answer some of the understandable confusion 
behind Hendrik's question: https://www.neilvandyke.org/racket/sxml-intro/


A clarification on credit where it's due: John Clements did considerable 
work to clean up and document Oleg Kiselyov's various SXML packages for 
modern Racket, and maintains those.


I wrote a few other SXML-based packages: https://www.neilvandyke.org/racket/

If anyone has a deep-pocketed commercial need for some new HTML or XML 
libraries for Racket, I might have some consulting time available, but 
haven't had time for pro bono work lately.


(I'm not normally on racket-users; if anything I should see, please 
email me directly.)


--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/e8e5dd10-563f-17d2-0ecf-c1bcd285751d%40neilvandyke.org.


Re: [racket-users] Need advice on XML representation

2020-03-10 Thread Tom Gillespie
Hi Hendrik,
I explored this question when I had to decide how to implement an
exchange format for identifier metadata. SXML supports more of the
standard, specifically for my use cases it was critical that I have support
and representation for xml namespaces, which xexprs in racket do not have.
Depending on your exact use cases sxml also has built in support for sxpath
queries, which I used for webscraping here
.
In short, if you have to work with more of XML than just the fact that it
has SGML syntax I would strongly

recommend SXML over any of the alternatives. Neil Van Dyke (cced) is the
current maintainer of sxml and some associated libraries, and might be able
to give a more concrete answer to some of your questions if you don't find
answers in some of the links below. Best!
Tom

Two threads with relevant information.
https://groups.google.com/forum/?utm_medium=email_source=footer#!searchin/racket-users/sxml|sort:date/racket-users/QsTMrgfzBxQ/VghJQURTGAAJ
https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/racket-users/NMv8ezKStZU/-4D9J-okCgAJ


On Mon, Mar 9, 2020 at 7:06 AM Hendrik Boom  wrote:

> I need a recommendation.
> I have a bunch of XML to read in, interpret, process, and to write out as
> corresponding Racket code.
> The resulting Racket code will not be XMLis at all.
> Searchni, I find mention of SXML, xexprs, and there seems to be an XML
> package as sell.
>
> Which is mode useful, considering likely longevity, support code,
> compatibility with standards, and so forth.
>
> Are any of these amenable producing output while reading input, in case my
> code ever needs to be run on a small computer?
>
> -- hendrik
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/20200309140608.5f5tztvwns543tiv%40topoi.pooq.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CA%2BG3_PNQod8UsO7P21vGFoqqe0AG3sTnba84rkmNuMai3SvCHQ%40mail.gmail.com.


[racket-users] Need advice on XML representation

2020-03-09 Thread Hendrik Boom
I need a recommendation.
I have a bunch of XML to read in, interpret, process, and to write out as 
corresponding Racket code.
The resulting Racket code will not be XMLis at all.
Searchni, I find mention of SXML, xexprs, and there seems to be an XML package 
as sell.

Which is mode useful, considering likely longevity, support code, compatibility 
with standards, and so forth.

Are any of these amenable producing output while reading input, in case my code 
ever needs to be run on a small computer?

-- hendrik

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200309140608.5f5tztvwns543tiv%40topoi.pooq.com.