Changeset 179
- Timestamp:
- 08/08/08 15:07:39 (4 months ago)
- Files:
-
- trunk/dba/config.bkl (modified) (1 diff)
- trunk/dba/configure.in (modified) (1 diff)
- trunk/dba/dba/xmlarchive.h (modified) (1 diff)
- trunk/dba/examples/examples.bkl (modified) (1 diff)
- trunk/dba/examples/xmlsimple (added)
- trunk/dba/examples/xmlsimple/xmlsimple.bkl (added)
- trunk/dba/examples/xmlsimple/xmlsimple.cpp (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/dba/config.bkl
r169 r179 126 126 </template> 127 127 128 <template id="xml_example" template_append="example ">128 <template id="xml_example" template_append="example,libxml2-exe"> 129 129 <sys-lib>dbaxml$(LIBDEBUGSUFFIX)</sys-lib> 130 130 </template> trunk/dba/configure.in
r169 r179 243 243 examples/sublists/Makefile 244 244 examples/transaction/Makefile 245 ]) 246 245 examples/xmlsimple/Makefile 246 ]) 247 trunk/dba/dba/xmlarchive.h
r172 r179 23 23 24 24 /** 25 Archive for XML file format serialization 25 Archive for XML file format serialization using libxml2. 26 27 This archive adds limited support for mapping xml document data to C++ objects using store tables. 28 29 Current limitations: 30 - object identifiers are not supported. 31 - class members specified in BIND_STR, BIND_INT, BIND_DAT and BIND_STB \ 32 macros can be *all* stored as attributes or subelements, not both 33 - class members specified in BIND_STR, BIND_INT, BIND_DAT and BIND_STB are loaded from \ 34 subelements and attributes. 35 - xml namespaces can be specified directly in storetable, but namespace declaration \ 36 can be added only to root xml element. 37 - xml elements are written with order specified in store table, but XMLArchive ignores \ 38 order of readed elements - they are searched amon all nodes and attributes on current level. 39 26 40 */ 27 41 class XMLArchive : public Archive, public ConvSpecContainer, public XMLErrorHandler { trunk/dba/examples/examples.bkl
r20 r179 16 16 <subproject id="sublists" template="example"/> 17 17 <subproject id="transaction" template="example"/> 18 <subproject id="xmlsimple" template="example"/> 18 19 </makefile>
