![]() |
Home | Libraries | People | FAQ | More |
boost::property_tree::xml_parser::read_xml
// In header: <boost/property_tree/xml_parser.hpp> template<typename Ptree> ( filename, pt, flags = , loc = );
Reads XML from a file using the given locale and translates it to property tree.
![]() |
Note |
---|---|
Clears existing contents of property tree. In case of error the property tree unmodified. |
![]() |
Note |
---|---|
XML attributes are placed under keys named |
Parameters: |
|
||||||||
Throws: |
xml_parser_error In case of error deserializing the property tree. |