XUL Schema defines the elements, and attributes for a XUL document, a document which defines the display of web page in terms of UI, user interface, widgets. A XUL document may be displayed in any web browser that supports the XUL language. This includes Mozilla 1.0, Netscape 7, and Phoenix. XUL is an XML conformant language. The root element of a XUL dialog. The root element of a XUL overlay document. The root element of an internal XUL doc inside an enclosing window. The root element of a XUL document The root element of a XUL assistant window. The root element of a XUL document. It describes the structure of a top-level window. It is by default a horizontally oriented box. As with all box-like elements, all box attributes can be used. By default, the window will have a platform-specific frame around it. The horizontal position that the window appears on the screen. The vertical position that the window appears on the screen. The state of the window. The text to appear on the title bar of the window. Set to a string which can be used to identify the type of window. This might be used, for example, to distingush between a browser window and an editor window. The root element of an internal XUL doc inside an enclosing window. Similar to a window, except it should be used for XUL files that are to be loaded into an iframe. The root element of a XUL assistant window. The root element of a XUL dialog window. The root element of a XUL overlay document/file. The type of the button. This should be set to create a special button in a dialog box. Buttons with the same value for their group attribute are put into the same group. Only one button from each group can be checked at a time. If one is checked, the others are unchecked. The type of button. If this attribute is not present, a normal button is created. Leave the attribute out for a normal button. This type of button can be in two states. The user can click the button to switch between the states. This is not the same as a checkbox because it looks like a button. The off state is displayed like a regular button and the on state is displayed like a pressed button. Set the type attribute to the value 'menu' to create a button with a menu popup. Place a menupopup element inside the button in this case. You can also use the value 'menu-button' to create a button with a menu. This second value will typically cause the button to be displayed with an arrow to the side indicating that a menu is present. This type of button is used for Mozilla's back and forward buttons. The button acts like a radio button. Only one button in the group can be on a once. Attributes that can be placed on any XUL element. This should be set to a letter that is used as a shortcut key. This letter should be one of the characters that appears in the label text for the button. This letter will typically be drawn underlined, although this behavior will be platform and skin specific. When the user presses ALT (or a similar key that varies on each platform) and the access key, the button will be activated from anywhere in the window. Indicates whether the button is checked or not. Set to an id of a command element that is being observed by the element. If the label of the button is too small to fit in its given space, the text will be cropped on the side specified by the crop attribute. An ellipsis will be placed in place of the cropped text. If the box direction is right to left (rtl), the cropping is reversed. If this attribute is set to true, the button is disabled. This is usually drawn with the text in grey. If the button is disabled, the function of the button cannot be performed. Leave the attribute out entirely for a regular enabled button. The URL of the image to appear on the button. If this is attribute is left out, no image appears. The position of the image is determined by the dir and orient attributes. The label that will appear on the button. If this is left out, no text appears. A value associated with the button. You may use it in a script for your own purposes. Specifies which side of the button's label that its image is placed. The window is maximized, and occupies the full size of the screen. The window is minimized, or hidden. The window appears in a normal state at the desired size.