Simplify XML Output with a Custom LotusScript Class

Ethann Castell, Senior Consultant, Caliton Innovations


February, 2010


Create XML output based on custom schemas simply and easily using the XML_Element class. This custom class enables you to produce XML markup from IBM Lotus Notes and Domino with less code than you would write using traditional LotusScript coding techniques, and the resulting code is overall easier to understand and maintain. You can also re-use the XML script library included with the downloadable sample database to standardize the way you produce XML output across all your applications.


IBM Lotus Notes and Domino contain several built-in LotusScript functions for importing and exporting DXL (Domino XML) markup. When you need to create XML output using a custom schema — perhaps as required by an external third-party application or to selectively combine fields from multiple documents — then you have to write your own LotusScript code to do so.
I’ll show how a reusable custom XML class can simplify the process for you.

Would you like to see the full version of this article?

If you are an electronic license holder to THE VIEW, please log in to view this article.

If you would like information about becoming an electronic license holder — and having 24/7 unrestricted access to all articles and content in THE VIEW Online Knowledgebase — click here to see the available subscription options.

Or call 1-781-751-8813 to speak directly with a subscription and licensing specialist about customized access for you and your team.