XML User Interface Language

What Does XML User Interface Language Mean?

XML User Interface Language (XUL) is an interface markup language developed by Mozilla that enables developers to design applications that can run in both online and offline modes. XUL was introduced by Netscape in 1997 as part of what eventually became the Mozilla codebase.


Techopedia Explains XML User Interface Language

XUL is based on the core existing web standards – CSS, DOM and JavaScript. XUL relies on Gecko implementations, and, hence, it is not interoperable with non-Gecko standards. XUL does not have any formal specification. Widgets running on the Mozilla platform can be developed using XUL and ported across different platforms. Components of XUL documents include:

  • Content: The arrangement of UI components is defined in the documents that together constitute the contents of XUL files.
  • Skin: Skin is regarded as the customizable set of colors or patterns that can be associated with a given XUL user interface defined in the form of skin files. It may include CSS and image files.
  • Locale:Language changes can be incorporated in the user interface using internationalization and localization features provided by XUL.

XUL files contain both XML and HTML elements in addition to XUL elements defined using the XUL namespace. A MIME type text/xul can be associated with XUL documents. An XUL interface defines a mechanism for programming a set of disconnected widgets. Simple scripting can be used like JavaScript, or complex C++ code can be used to define widget behavior.


Related Terms

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…