Viewing the XML in an application with DXL utilities
About this task
In addition to including XML in an Domino® Designer application, you can view all of the design elements represented in XML using Domino 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
About this task
Procedure
To export the XML for one or more design elements to a text file
Procedure
- Select one or more design elements in the design pane.
- Choose Tools - DXL Utilities - Exporter.
- Enter a file name and path for the XML file and click Save.
Results
You can open the file in your favorite text editor and view or edit the XML source.