Start changePDML tags and syntax

Panel Definition Markup Language (PDML) tags are case-sensitive and must be coded by defining attribute tags, for example, <TITLE></TITLE> and <SIZE></SIZE>, in a predefined, consecutive order.

In addition to a set of required tags, PDML defines optional tags that allow you to add functionality and formatting to your panels.

Required PDML tags

Just as the Hyper-Text Markup (HTML) and Standard Generalized Markup (SGML) languages require that you include certain tags within each HTML and SGML coded page (for example, <html>/</html>, <body>/</body>, and the base document element), the PDML tag structure requires a starting and ending PDML tag and a starting and ending panel tag, with title and size attribute tags enclosed within the panel tag.

The following is the general layout of all required PDML tags:

<PDML version=version source=platform basescreensize=screensize>
        <PANELname=name>
                <TITLE>title</TITLE>            
                <SIZE>size/SIZE>
        </PANEL>
</PDML>

Optional PDML tags

Just as HTML provides you with tags that format your web pages and make them interactive (for example, tables, radio buttons, and text fields), you can use PDML tags to format and activate your panels.

Three sets of PDML tags perform formatting and user interaction:

The following is an example of the general layout of all PDML tags, including representatives of panel component, wizard, and property sheet tags:
<PDML>
        <PANEL>
                <PANEL COMPONENT>
                </PANEL COMPONENT>
        </PANEL>

        <PROPSHEET>
                <PANEL>
                        <PANEL COMPONENT>
                        </PANEL COMPONENT>
                </PANEL>
        </PROPSHEET>

        <WIZARD>
                <PANEL>
                        <PANEL COMPONENT>
                        </PANEL COMPONENT>
                </PANEL>
        </WIZARD>

</PDML>
End change 


[ Legal | AS/400 Glossary