$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Question about useful libraries
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-06-29 02:40:59
On 06/28/2011 01:17 PM, Sebastian Karlsson wrote:
> Secondly an XML parser /
> writer can be written to a very high quality using the libraries
> already present in boost ( spirit& iostreams comes to mind )
A spirit-based XML parser doesn't seem that great.
If using semantic actions, it would necessarily be SAX-like.
If using attributes, it would be like the DOM, and you would have to be
careful not to copy everywhere.
My impression was that Pull-like interfaces -- lazy parsing of XML as it
is being iterated -- were more popular.