Generates XML for annotated widgets to a fileint sm_xml_export_file (char *filename);int sm_n_xml_export_file (char *filename, char *gsd);int sm_obj_xml_export_file (char *filename, int *objid);
- The name of the file to contain the generated XML.
- An expression indicating the screen or LDB to use for XML generation. For example,
@screen_num(-1)specifies the next to top screen on the form stack, and
customer_xml.scrscreen in the LDB.
- An object id indicating the screen or LDB to use for XML generation.
sm_*xml_export_filefunctions generate XML for the specified screen and write it to the specified file. You can call
sm_xml_export_fileto generate XML for the current screen.
In order to be included in the XML, widgets must have the
xml_tagproperty specified. In addition, the screen must have a value in the
xml_tagproperty or both the
For more information on using these functions, see Chapter 22, "Using XML Data," in the Application Development Guide.