actionmenufile.dtd file

The Menu Manager uses the actionmenufile.dtd document type definition (DTD) file to validate action and menu XML files and check for errors.

The structure of the actionmenufile.dtd is provided here for reference only; you cannot modify the contents of this file. The actionmenufile.dtd file has the following structure:

<?xml version='1.0' encoding="UTF-8"?>
<!ELEMENT action
   ((filetype*| override*| datasetfilter*)* , command)
>
<!ATTLIST action
	collectnames (true|false) #REQUIRED
	foregroundrun (true|false) #IMPLIED
	comment CDATA #REQUIRED
	eventsfile CDATA #REQUIRED
	id CDATA #REQUIRED
	lengthlimit CDATA #REQUIRED
	name CDATA #REQUIRED
	remotecommand (true|false) #REQUIRED
	showgeneric (true|false) #REQUIRED
	clearconsole (true|false|pref) #IMPLIED
	outputindialog (true|false) #IMPLIED
	userexit CDATA #REQUIRED
	iaction_id CDATA #REQUIRED
	refresh CDATA #IMPLIED  
	propagate CDATA #IMPLIED
    actionType CDATA #IMPLIED  
>
<!ELEMENT datasetfilter
   (#PCDATA)
>
<!ELEMENT filetype
   (#PCDATA)
>
<!ELEMENT root
   (complex-action*| action*| entity*)*>
<!ELEMENT command (headerfile?| footerfile?| commandheaderfile?| commandfooterfile?)*>
<!ATTLIST command
	cmd CDATA #REQUIRED>
<!ELEMENT headerfile (headervars?)>
<!ATTLIST headerfile
	value CDATA #REQUIRED>
<!ELEMENT footerfile (footervars?)>
<!ATTLIST footerfile
	value CDATA #REQUIRED>
<!ELEMENT commandheaderfile (commandheadervars?)>
<!ATTLIST commandheaderfile
	value CDATA #REQUIRED>
<!ELEMENT commandfooterfile (commandfootervars?)>
<!ATTLIST commandfooterfile
	value CDATA #REQUIRED>
<!ELEMENT headervars (#PCDATA)>
<!ELEMENT footervars (#PCDATA)>
<!ELEMENT commandheadervars (#PCDATA)>
<!ELEMENT commandfootervars (#PCDATA)>
<!ELEMENT complex-action ((success| script+)|filetype+|datasetfilter*)+>
<!ATTLIST complex-action
	type CDATA #REQUIRED
	id CDATA #REQUIRED
	name CDATA #REQUIRED
	comment CDATA #REQUIRED
	userexit CDATA #REQUIRED
	showgeneric (true|false) #REQUIRED
	clearconsole (true|false) #IMPLIED
    actionType CDATA #IMPLIED
>
<!ELEMENT success (actionid, condition)>
<!ELEMENT failure (actionid, condition)>
<!ELEMENT script (actionid, host)>
<!ELEMENT actionid (#PCDATA)>
<!ELEMENT host (name, path, username, password?)>
<!ELEMENT name (#PCDATA)>
<!ELEMENT path (#PCDATA)>
<!ELEMENT username (#PCDATA)>
<!ELEMENT password (#PCDATA)>
<!ELEMENT condition (constraint, (reference-val, success?, failure?)?)>
<!ELEMENT constraint (#PCDATA)>
<!ELEMENT reference-val (#PCDATA)>
<!ELEMENT entity (entity*)>
<!ATTLIST entity
	id CDATA #REQUIRED
	includedas CDATA #REQUIRED
	location CDATA #REQUIRED
	name CDATA #REQUIRED
	type (complex-action | separator | menu | action | dynamicGroup) "separator" >
<!ELEMENT override EMPTY>
<!ATTLIST override
	id CDATA #REQUIRED
	name CDATA #IMPLIED
	filename CDATA #IMPLIED>