lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] change file formats to XML


From: Vaclav Slavik
Subject: Re: [lmi] change file formats to XML
Date: Thu, 11 Mar 2010 19:51:00 +0100

Hi,

On Thu, 2010-03-11 at 18:26 +0000, Greg Chicares wrote:
> would it make sense to add a companion function as follows (e.g.)?
> 
>   void xml::document::parse_from_string(std::string const&)
>     Parse the string into an XML document tree.
>     Inverse of xml::document::save_to_string(). 

xmlwrapp doesn't have parsing interface in xml::document, but in
tree_parser. The tree_parser(const char *data, size_t size) constructor
does what you need, I think.

Vaclav





reply via email to

[Prev in Thread] Current Thread [Next in Thread]