Whole document tree
bonobo-property-bag-xmlSynopsis
DescriptionThis API is really super simple. It is designed in conjuction with the BonoboUINode API to allow you to serialize a BonoboArg ( in fact a CORBA_any ) to an XML format, and obviously the converse. Here is a code sample to produce an XML string from a CORBA_any or BonoboArg: Example 1. Converting Any to XML
Here is the converse sample to produce a BonoboArg from an XML string: Example 2. Converting XML to an Any
Detailsbonobo_property_bag_xml_encode_any ()
This routine encodes any into an XML tree using the BonoboUINode XML abstraction. ev is used for flagging any non-fatal exceptions during the process. On exception NULL will be returned. opt_parent should be NULL, and is used internally for recursive tree construction. Both type and content data are dumped in a non-standard, but trivial format. bonobo_property_bag_xml_decode_any ()
This routine is the converse of bonobo_property_bag_xml_encode_any. It hydrates a serialized CORBA_any. |