From: Henrik Motakef <henrik.motakef@web.de>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: Alessandro Baretta <alex@baretta.com>, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] XML, XSL, eXcetera
Date: 05 Jul 2002 00:46:06 +0200 [thread overview]
Message-ID: <87pty3kt75.fsf@pokey.henrik-motakef.de> (raw)
In-Reply-To: <20020704235143.A621@ice.gerd-stolpmann.de>
Gerd Stolpmann <info@gerd-stolpmann.de> writes:
> A number of people would also be (more) happy if there were a
> common SAX-like interface.
I am one of those. XML documents nowadays tend to get really big, and
I certanly don't want to store all of them in an object structure in
RAM just to filter out the stuff I'm interested in.
Then again, I really don't insinst on SAX-compatibility, I'd rather
see an OCaml-stream based interface actually, like an xml_event
Stream.t, where type xml_event = start_element of String |
character_data of string | end_element of String ...
Regarding the more general question of an "OCaml XML standard": I'd
think it would be really usefull. Especially a tight integration
(maybe with serious Camlp4 magic, I've no idea if it would be
possible) would rock hard. Just imagine something like
match node with
| foo/bar -> do_something ()
| bla/blub[@mumbo="jumbo"] -> something_else ()
...
i.e. matching XML nodes with XPathes. Who would want to use XSLT over
this? Certainly not me, never mind the Java weenies ;-)
Regards
Henrik
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-07-04 22:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-04 8:45 forsyth
2002-07-04 18:43 ` Alessandro Baretta
2002-07-04 21:51 ` Gerd Stolpmann
2002-07-04 22:43 ` Alessandro Baretta
2002-07-05 8:06 ` Stefano Zacchiroli
2002-07-06 14:15 ` Alessandro Baretta
2002-07-04 22:46 ` Henrik Motakef [this message]
2002-07-05 0:15 ` Alain Frisch
2002-07-05 16:36 ` Claudio Sacerdoti Coen
2002-07-06 14:22 ` Alessandro Baretta
2002-07-08 12:29 ` Claudio Sacerdoti Coen
[not found] <Pine.LNX.4.21.0207040823410.30756-100000@vestra.bendery.md>
2002-07-04 8:34 ` Alessandro Baretta
-- strict thread matches above, loose matches on Subject: below --
2002-07-03 22:59 Alessandro Baretta
2002-07-03 23:02 ` Alexander V.Voinov
2002-07-04 0:34 ` Alessandro Baretta
2002-07-04 8:33 ` Stefano Zacchiroli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pty3kt75.fsf@pokey.henrik-motakef.de \
--to=henrik.motakef@web.de \
--cc=alex@baretta.com \
--cc=caml-list@inria.fr \
--cc=info@gerd-stolpmann.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox