A Sample Dialog

The user documentation for the XML dialog is
Creating a Dialog Definition Document

This is the most complete specification for the xmldialog package.

The XML document is structured as a tree, with the dialog element as the root, boxes as branches, and widgets as leaves.

<?xml version="1.0"?>
<!DOCTYPE dialog SYSTEM
    "http://collective/kahuna/official/dialog.dtd">

<dialog type="box1" title="Test">

    <box direction="horizontal">
        <label>Name:</label>
        <strut size="6"/>
        <spring/>
        <text width="100" onCloseStore="userName"/>
    </box>

    <strut size="2"/>
           
    <box direction="horizontal">
        <label>Password:</label>
        <strut size="6"/>
        <spring/>
        <password width="100" onCloseStore="password"/>
    </box>
       
    <okButton/>
    <cancelButton/>

</dialog>