[Top][All Lists]

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

Re: [lmi] change file formats to XML

From: Greg Chicares
Subject: Re: [lmi] change file formats to XML
Date: Thu, 11 Mar 2010 19:42:00 +0000
User-agent: Thunderbird (Windows/20090812)

On 2010-03-11 18:51Z, Vaclav Slavik wrote:
> 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.


(I was looking at:

    xml_lmi::dom_parser doc(a_Filename);

and thinking 'doc' was of type xmlwrapp xml::document.)

reply via email to

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