
29 Jun
2011
29 Jun
'11
6:40 a.m.
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.