APPLICATION DESIGN


Viewing the XML in an application with DXL utilities
In addition to including XML in an IBMR LotusR Domino(TM) Designer application, you can view all of the design elements represented in XML using IBMR LotusR Domino(TM) XML (DXL). You can either view the XML in Designer, or you can export the XML to a text file, where you can view it or edit it using your favorite editor.

For detailed information about DXL, refer to the Programming Guide.

Accessing design elements in XML provides you with the means of accessing the data in your application and comparing it to or integrating it with other data sources that support XML. The DXL utilities can be a very flexible alternative to generating reports on application elements using the Design Synopsis. You can examine the DXL for a collection of elements, or you can transform it using an XSL file to apply styles and formats that make your data more meaningful to you.

In order to transform DXL, you must construct an XSL file which processes the tags that make up a design element. For example, the sample XSL file "Report--AllLSinForm.xsl" selects certain parts of the DXL document and ignores others. The selected pieces (all relating to LotusScript) are reformatted to make the output more readable.

To view the XML for a design element

1. Select one or more design element in the design pane.

2. Choose Tools - DXL Utilities - Viewer.


To export the XML for one or more design elements to a text file

1. Select one or more design elements in the design pane.

2. Choose Tools - DXL Utilities - Exporter.

3. Enter a file name and path for the XML file and click Save.

You can open the file in your favorite text editor and view or edit the XML source.

To transform the XML for one or more design elements using an XSL

1. Select one or more design element sin the design pane.

2. Choose Tools - DXL Utilities - Transformer.

3. Select the name of an XSL file to use for transforming the XML.


4. Choose a type of output. Either select screen for a screen display, or specify an output file name.

See Also