Index: libs/serialization/doc/tutorial.html =================================================================== RCS file: /cvsroot/boost/boost/libs/serialization/doc/tutorial.html,v retrieving revision 1.3 diff -u -u -r1.3 tutorial.html --- libs/serialization/doc/tutorial.html 31 Aug 2004 04:06:56 -0000 1.3 +++ libs/serialization/doc/tutorial.html 28 Sep 2004 09:06:48 -0000 @@ -512,6 +512,22 @@ are met with this system. The contents of the archive file can also be displayed as serialization files are ASCII text. +

XML Archives

+

+The Boost Serialization library also provides archive classes that generate and read XML +files - xml_oarchive and +xml_woarchive for saving and +xml_iarchive and +xml_wiarchive for loading. They are used exactly +like any other archive class except that you need to associate the data with the +corresponding XML tag names. +

+

+This is accomplished by serializing name-value pairs. +If used with any of the non XML based archive implementations, the name-value pairs are +optimized away. It is therefore reasonable to always serialize name-value pairs if you +imagine your data may ever be serialized into an XML archive. +


Revised