I would think the tool of choice would be XSLT, not Haskell. The saxon xslt
translator is pretty good for command line translation. The microsoft XSLT
latest Beta xslt is good too.
What xml parser are you using XML in haskell? I am familliar with this
stuff: http://www.cs.york.ac.uk/fp/HaXml.
I am thinking of building an XSLT translator in haskell and need some place
to start. If there are any suggestions on tools and techniques I would be
happy to hear them. I am researching combinator libraries now.
I have configured this message so that replies should go to haskell-cafe
automatically.
> -----Original Message-----
> From: Ketil Malde [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 14, 2000 1:23 AM
> To: Jino Hyun
> Cc: [EMAIL PROTECTED]
> Subject: Re: XML Programming Languages...
>
>
> "Jino Hyun" <[EMAIL PROTECTED]> writes:
>
> > � - What XML Programming Language is.
>
> Dunno - a language with good libraries for XML parsing and
> validation,
> perhaps? I'm using Haskell to take a bunch of HTML-pages, extract
> data from them, manipulate it a bit, and generate a new
> HTML-page with
> the results.
>
> For this, it is necessary to build and manipulate huge trees,
> something Haskell (like most functional languages) does very well.
> The usual benefits, like flexible static typing and quickly
> developed,
> correct programs also apply, of course. The few bugs that weren't
> caught by the type checker, were quickly fixed when discovered.
>
> Unfortunately, and I'm going to agree with graham here, the resulting
> program uses a lot of memory (parsing about one meg of HTML,
> producing
> about 200K of results makes my 128Mb machine suffer), and I get a
> run-time error[1] if I feed it too much data.
>
> -kzm
>
> [1] Prelude.(!!) index too large. Sounds almost entirely, but not
> quite, unlike out of memory. Anybody know?
> --
> If I haven't seen further, it is by standing in the
> footprints of giants
>