Basic Elements of the User Interface for XML
Documents
If you want to configure your own user interfaces for depicting XML documents, you can use the basic elements described here.
The following elements are contained in the delivery:
· NewsRenderer
This renderer displays XML documents in folders. You must have created a RenderListItem form for the project in question, and the project must be compiled. The XML Forms Builder generates an XSL transformation for depicting XML documents in the flexible user interface.
The NewsRenderer is not only for news items – it is for all documents created with XML forms. The system uses the resource type to identify the project to which a document belongs. It depicts each list entry as defined in the RenderListForm for the project in question.
· CollectionGridRenderer
You can display lists of XML documents rendered with the NewsRenderer in a standard CollectionGridRenderer.
· Interface command for creating and changing XML documents
The interface command edit_xml_forms is for creating and changing XML documents. This command is used to call up the Edit form.
· Command group for creating XML documents
The command group CreateXMLFormsGroup displays a command for creating new documents for each project. The list of available projects is determined dynamically. This command is used to call up the Edit form of the project in question.
It is typically used in a popup menu next to the breadcrumb or in a menu bar.
For an example of the use of these basic elements, see Layout Sets for XML Documents.
