Thread overview
Streamable xml parser
Mar 22, 2006
John See
Mar 23, 2006
John Demme
Mar 23, 2006
Marcio
Mar 24, 2006
Andrew Fedoniouk
March 22, 2006
Has anyone written an XML parser for D that can be feed a phobos Stream? If yes, where can I download it.

Thanks.


March 23, 2006
John See wrote:

> Has anyone written an XML parser for D that can be feed a phobos Stream? If yes, where can I download it.
> 
> Thanks.

I don't know about Phobos, but my XML stuff for Mango works with Mango's IO streams.  The SAX module is nearing beta status (versus the alpha it's in now).

~John Demme
March 23, 2006
John See wrote:
> Has anyone written an XML parser for D that can be feed a phobos Stream? If yes,
> where can I download it.


  How about a pull parser? It's fast, does not cache all the doc in memory, and has no callback complexities. .NET has it, Java added it. http://www.xml.com/pub/a/2002/05/22/parsing.html

marcio
March 24, 2006
"John See" <John_member@pathlink.com> wrote in message news:dvsmrb$23g5$1@digitaldaemon.com...
> Has anyone written an XML parser for D that can be feed a phobos Stream?
> If yes,
> where can I download it.
>
> Thanks.
>

//| Simple XML/HTML scanner/tokenizer.

module harmonia.html.scanner.Scanner;

This is universal SGML scanner, can be used for parsing XML.
Such scanner is also known as "XML pull parser"
- fastest and least memory consuming approach from all others.

Andrew.